ResponseReceivedEventArgs class
| Microsoft Office Live Communications Server 2005 with SP1 |
ResponseReceivedEventArgs
The ResponseReceivedEventArgs class defines information to an application regarding the arrival of a SIP response, and contains a Response 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 previous sent a request with ClientTransaction.SendRequest, and handle any responses associated with this request.
The ResponseReceivedEventArgs class is derived from the System.EventArgs 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 |
|---|---|
| ClientTransaction | Data type: ClientTransaction Access type: Read-only Contains a reference to the ClientTransaction object for which the Response object is intended. |
| Response | Data type: Response Access type: Read-only Contains the Response object intended for the client transaction. |
Requirements
Redistributable: Requires Microsoft Office Live Communications Server 2005 with SP1.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)
See Also
ClientTransaction.ResponseReceived, Dispatch, Response, ResponseReceivedEventHandler
| What did you think of this topic? |
| © 2008 Microsoft Corporation. All rights reserved. |