A container that holds completed task results.

C# |
public sealed class EnumItems : IEnumerator, IEnumerable

All Members | Methods | Properties | |||
Icon | Member | Description |
---|---|---|
![]() | 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. |

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).


EnumItems enumItems = session.FetchTaskOutput(numTasks); foreach(TaskOutputHandle output in enumItems) { .... }

Object | |
![]() | EnumItems |

[Session.FetchTaskOutput]
[TaskOutputHandle]
[TaskOutputHandle]