ServerTransaction.CreateBranch Method

Definition

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

public:
 virtual Microsoft::Rtc::Sip::ClientTransaction ^ CreateBranch();
public virtual Microsoft.Rtc.Sip.ClientTransaction CreateBranch ();
Public Overridable Function CreateBranch () As ClientTransaction

Returns

Returns the instance of ClientTransaction that was added to Branches.

Remarks

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.

Applies to