Export (0) Print
Expand All

ServerTransaction.CreateBranch method

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

Namespace:  Microsoft.Rtc.Sip
Assembly:  ServerAgent (in ServerAgent.dll)

public ClientTransaction CreateBranch()

Return value

Type: Microsoft.Rtc.Sip.ClientTransaction
Returns the instance of ClientTransaction that was added to Branches.

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

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

Show:
© 2014 Microsoft