ClientTransaction.SendRequest(Request) method

 
Microsoft Office Live Communications Server 2005 with SP1

ClientTransaction.SendRequest

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

[C#]public void SendRequest(Requestrequest);
[Visual Basic .NET]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 Live Communications Server 2005 with SP1.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)

See Also

Request, ClientTransaction

  
  What did you think of this topic?
  © 2008 Microsoft Corporation. All rights reserved.