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 | |
---|---|---|
Parameters | Optional dispatch call parameters. | |
Request | The Requestproperty contains the Request object for the request that initiated the server transaction that is contained in ServerTransaction . | |
ServerTransaction | The ServerTransactionproperty contains the new ServerTransaction object that will service the received request. |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |