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.

Properties

  Name Description
Public property Count The Countproperty contains the total number of elements in the BranchCollection .
Public property IsEmpty The IsEmptyproperty indicates whether the BranchCollection object is empty (has no elements).
Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator The GetEnumeratormethod obtains an IEnumeratorinterface that is used for iterating through the branch collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top

See also