ClientTransaction.SendRequest

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

ClientTransaction.SendRequest

The SendRequest method sends a SIP request to a server transaction on a proxy or UAS.

Syntax

 public void SendRequest( 
 Request request 
 ); 

Syntax

 Public Sub SendRequest( _ 
 ByVal request As Request _  
 ) 

Parameters

  • Request
    Specifies the SIP request to send to the server transaction (and, eventually, to the UAS). A SIP request contains a SIP method type (such as INVITE or ACK) and the SIP URI the method will be sent to.

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 Office Communications Server 2007 R2.

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also

Concepts

Request Sip Class

ClientTransaction