Share via


ClientTransaction.SendRequest(Request) method

 
Communications Server 2007 Server SDK Documentation

ClientTransaction.SendRequest

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

[C#]
public void SendRequest(
Request request
);
FakePre-6ad8c6f4bd584891a14677da2a9c3fec-4be65ee4f9c04f9aac737906e49c606d

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.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)

See Also

Request, ClientTransaction

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