The BranchCollectionclass represents an unordered collection of client transactions (branches) that are associated with a server transaction. Each client transaction is represented as a ClientTransaction object, and can be obtained through the IEnumeratorinterface that is returned by the GetEnumerator () () () () method.

A BranchCollectionobject is obtained by referencing the Branches property, which contains all of the client transactions that are defined for that server transaction.

This class implements the IEnumerableinterface.

The BranchCollectionclass is derived from the System.Objectclass.

Inheritance hierarchy

System . . :: . . Object
   Microsoft.Rtc.Sip . . :: . . BranchCollection

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

Syntax

Visual Basic (declaration)
Public 
NotInheritable 
Class 
BranchCollection _
	
Implements 
IEnumerable
Visual Basic (usage)
Dim 
instance 
As 
BranchCollection
C#
public 
sealed 
class 
BranchCollection : 
IEnumerable

Thread safety

Any public static( Sharedin Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also