Platform Symphony .NET API Reference - Version 5.1
EnumItems Class
NamespacesPlatform.Symphony.SoamEnumItems
A container that holds completed task results.
Declaration Syntax
C#
public sealed class EnumItems : IEnumerator, 
	IEnumerable
Members
All MembersMethodsProperties



IconMemberDescription
Count
Gets the number of items in the enumeration.

Current
Gets the current element in the collection.

GetEnumerator()()()()
Returns an enumerator that can iterate through a collection.

MoveNext()()()()
Advances the enumerator to the next element of the collection.

Reset()()()()
Sets the enumerator to its initial position, which is before the first element in the collection.

Remarks

Provides access to a series of [TaskOutputHandle] elements, one at a time.

Session.FetchTaskOutput will return an EnumItems object, which can be used in a foreach loop to iterate through the task responses received from SOAM.

NOTE: If any of the methods of this class are called after the Main(...) method exits, the client or service process may behave in an undefined manner (for example, hang or terminate abnormally).

Examples
CopyC#
EnumItems enumItems = session.FetchTaskOutput(numTasks);
foreach(TaskOutputHandle output in enumItems)
{
....
}
Inheritance Hierarchy
Object
EnumItems
See Also
[Session.FetchTaskOutput]
[TaskOutputHandle]

Assembly: Platform.Symphony.Soam.Net (Module: Platform.Symphony.Soam.Net) Version: 5.1.0.0