The RequestReceivedEventArgsclass defines information to an application regarding the arrival of a SIP request.

When a request has been successfully dispatched by the MSPL message filter (see the Dispatch built-in function), an event containing a RequestReceivedEventArgsobject will be dispatched to the specified method (whose signature must match the ResponseReceivedEventHandler delegate). RequestReceivedEventArgscontains the request as the Request property.

An instance of ServerTransaction is created as a property of RequestReceivedEventArgs. This property represents the new servertransaction for the request. To forward this request, call CreateBranch () () () () to create a ClientTransaction and call SendRequest(Request) , passing the Request object in the RequestReceivedEventArgs.Requestproperty.

The RequestReceivedEventArgstype exposes the following members.

Properties

  Name Description
Public property Parameters Optional dispatch call parameters.
Public property Request The Requestproperty contains the Request object for the request that initiated the server transaction that is contained in ServerTransaction .
Public property ServerTransaction The ServerTransactionproperty contains the new ServerTransaction object that will service the received request.
Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top

See also