Share via


ServerTransaction.CreateBranch method

 
Communications Server 2007 Server SDK Documentation

ServerTransaction.CreateBranch

The CreateBranch method adds a new ClientTransaction object to the ServerTransaction.Branches property.

[C#]
public ClientTransaction CreateBranch();
FakePre-cd4977fadcd645a7b57d58b064c0b3f1-880a2b64861e4a83b1acd1fc43c0b9fe

Parameters

This method has no parameters.

Return Values

Returns the instance of ClientTransaction that was added to ServerTransaction.Branches.

Remarks

This method creates an empty ClientTransaction associated with this ServerTransaction instance. The ClientTransaction.Request property is populated by calling one of the Request.Clone overloads on the ServerTransaction.Request property, and passing this clone to ClientTransaction.SendRequest.

If you intend to fork a request (call CreateBranch a second time on the same ServerTransaction), you must set the EnableForking property to true.

Requirements

Redistributable: Requires Microsoft Office Communications Server 2007.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)

See Also

BranchCollection, ClientTransaction, Request.Clone, ServerTransaction

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