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.
Inheritance hierarchy
Namespace: Microsoft.Rtc.SipAssembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Public Class RequestReceivedEventArgs |
Visual Basic (usage) |
---|
Dim instance As RequestReceivedEventArgs |
C# |
---|
public class RequestReceivedEventArgs |