The SendRequestmethod sends a SIP request to a server transaction on a proxy or user account system (UAS).
Assembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Public Sub SendRequest ( _ request As Request _ ) |
Visual Basic (usage) |
---|
Dim instance As ClientTransaction Dim request As Request instance. SendRequest( request) |
C# |
---|
public void SendRequest( Request request ) |
Parameters
- request
- Type:
Microsoft.Rtc.Sip
.
.
::
.
.
Request
Remarks
Two requests cannot be sent through the same client transaction. If a second request is attempted, InvalidOperationExceptionis thrown.
To fork a request, call CreateBranch () () () () on the parent ServerTransaction object that handles the originating request. ClientTransaction.SendRequestmust be called immediately on the new ClientTransaction object that is created by the call to ServerTransaction.CreateBranch.