This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
BranchCollection.GetEnumerator
The GetEnumerator method obtains an External .NET Framework Class Reference interface used for iterating through the branch collection.
Syntax
[C#]
public IEnumerator GetEnumerator();
Syntax
[Visual Basic .NET]
Public Function GetEnumerator() As IEnumerator
Parameters
This method has no parameters.
Return Values
An IEnumerator interface that can be used to iterate through the collection of client ClientTransaction objects.
Remarks
The IEnumerator interface provides a method, IEnumerator.MoveNext(), which allows the caller to increment forward through the collection. To return to the start of the collection, call IEnumerator.Reset(). The current branch element can be obtained with the IEnumerator.Current property, which will return the element as an object that must be recast as a ClientTransaction type.
Requirements
Redistributable: Requires Microsoft Office Communications Server 2007
Namespace:Microsoft.Rtc.Sip Namespace
Assembly: ServerAgent (in ServerAgent.dll)