The CreateBranchmethod adds a new ClientTransaction object to the Branches property.
Assembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Public Function CreateBranch As ClientTransaction |
Visual Basic (usage) |
---|
Dim instance As ServerTransaction Dim returnValue As ClientTransaction returnValue = instance. CreateBranch() |
C# |
---|
public ClientTransaction CreateBranch() |
Return value
Type: Microsoft.Rtc.Sip . . :: . . ClientTransactionReturns 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 CreateBrancha second time on the same ServerTransaction), you must set the EnableForking property to true .