ClientTransaction.SendRequest
The SendRequest method sends a SIP request to a server transaction on a proxy or UAS.
Syntax
[C#]
Copy Code | |
---|---|
public void SendRequest( Request request ); |
Syntax
[Visual Basic .NET]
Copy Code | |
---|---|
Public Sub SendRequest( _ ByVal request As Request _ ) |
Parameters
Return Values
This method has no return values.
Remarks
Two requests cannot be sent through the same client transaction. If a second request is attempted, InvalidOperationException will be thrown.
To fork a request, call ServerTransaction.CreateBranch on the parent ServerTransaction object handling the originating request. SendRequest must be called immediately on the new ClientTransaction object created by the call to ServerTransaction.CreateBranch.
Requirements
Redistributable: Requires Microsoft Lync Server 2010
Namespace:Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)