Compartilhar via


ServerTransaction.CreateBranch method

 
Microsoft Office Live Communications Server 2005 with SP1

ServerTransaction.CreateBranch

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

[C#]
public ClientTransaction CreateBranch();

  [Visual Basic .NET]
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 with SP1.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)

See Also

BranchCollection, ClientTransaction, Request.Clone, ServerTransaction

  
  What did you think of this topic?
  © 2008 Microsoft Corporation. All rights reserved.