ServerTransaction.CreateBranch

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.

ServerTransaction.CreateBranch

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

Syntax

  public ClientTransaction CreateBranch(); 

Syntax

 Public Function CreateBranch() As ClientTransaction 

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 Transaction.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 ServerTransaction.EnableForking property to true.

Requirements

Redistributable: Requires Microsoft Office Communications Server 2007 R2.

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also

Concepts

BranchCollection

ClientTransaction

Request.Clone ()

ServerTransaction