ResponseReceivedEventArgs
ResponseReceivedEventArgs
The ResponseReceivedEventArgs class defines information to an application regarding the arrival of a SIP response, and contains a Response Sip Class object for the response that generated the event.
The ResponseReceivedEventArgs object is returned in two ways:
It is passed to a method defined on the application and specified by a call to the Dispatch MSPL built-in function from the application manifest message filter script. In this case, the method handling the dispatched response must have a signature matching that of the ResponseReceivedEventHandler delegate. It is passed to an event handler registered for the ClientTransaction.ResponseReceived event. This event is only available for ClientTransaction objects who have previously sent a request with ClientTransaction.SendRequest, and handle any responses associated with this request.
The ResponseReceivedEventArgs class is derived from the System.Object class.
Public Methods
The ResponseReceivedEventArgs class has the following public methods.
Method |
Description |
---|---|
Equals(Object) |
Inherited from System.Object. Determines whether the specified System.Object is equal to the current System.Object. |
GetHashCode() |
Inherited from System.Object. Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType() |
Inherited from System.Object. Gets the System.Type of the current instance. |
ToString() |
Inherited from System.Object. Returns a System.String that represents the current System.Object. |
Public Properties
The ResponseReceivedEventArgs class has the following public properties.
Property |
Description |
---|---|
Data type: ClientTransactionAccess type: Read-only Contains a reference to the ClientTransaction object for which the Response object is intended. |
|
Data type: Response Accesstype: Read-only Contains the Response object intended for the client transaction. |
Requirements
Redistributable: Requires Microsoft Lync Server 2010
Namespace:Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)