Share via


ServerTransaction.CreateBranch

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

public ClientTransaction CreateBranch();

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

See Also

BranchCollection, ClientTransaction, Request.Clone, ServerTransaction