If countMax task responses are ready before the timeout occurs, this method will return with all countMax responses as soon as they are available; otherwise, this method will block for up to timeoutInSeconds seconds and return with the responses that are available at timeout (will be between 0 and countMax responses, inclusive).

C# |
public EnumItems FetchTaskOutput( ulong countMax, long timeoutInSeconds )

- countMax (UInt64)
- The maximum number of task responses to be returned by SOAM. It must greater than or equal to 0.
- timeoutInSeconds (Int64)
- How much time should pass before giving up on trying to fulfill the request. Value must be between 0 and 31556926 seconds

An EnumItems object, which contains exactly countMax task responses

The task responses will be presented as an enumeration.
IMPORTANT NOTE:
If your session was created using the FetchResultsDirectly flag then the timeout will be ignored and the call will return as soon as 0 - N items are returned from the SSM. The number of items returned will depend on the amount of available results in the Symphony Session Manager at the time of the call.

[Platform.Symphony.Soam.EnumItems]