The ResponseReceivedEventArgsclass 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 ResponseReceivedEventArgsobject is returned in two ways:
First, 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.
Second, it is passed to an event handler registered for the ResponseReceived . This event is only available for ClientTransaction objects who have previously sent a request with SendRequest(Request) , and handle any responses associated with this request.
The ResponseReceivedEventArgsclass is derived from the System.Objectclass.
Inheritance hierarchy
Namespace: Microsoft.Rtc.SipAssembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Public Class ResponseReceivedEventArgs |
Visual Basic (usage) |
---|
Dim instance As ResponseReceivedEventArgs |
C# |
---|
public class ResponseReceivedEventArgs |