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.
The BranchCollectiontype exposes the following members.
|Count||The Countproperty contains the total number of elements in the BranchCollection .|
|IsEmpty||The IsEmptyproperty indicates whether the BranchCollection object is empty (has no elements).|
|Equals||(Inherited from Object.)|
|Finalize||(Inherited from Object.)|
|GetEnumerator||The GetEnumeratormethod obtains an IEnumeratorinterface that is used for iterating through the branch collection.|
|GetHashCode||(Inherited from Object.)|
|GetType||(Inherited from Object.)|
|MemberwiseClone||(Inherited from Object.)|
|ToString||(Inherited from Object.)|