Platform Symphony .NET API Reference - Version 5.0
TaskOutputHandle Class
NamespacesPlatform.Symphony.SoamTaskOutputHandle
A task response that consists of a task identifier, an output from the service (if any), and an exception (if any).
Declaration Syntax
C#
public sealed class TaskOutputHandle
Members
All MembersMethodsProperties



IconMemberDescription
Exception
Retrieves the attached exception if the task was unsuccessful.

GetTaskOutput()()()
Retrieves the task output object that was passed back to the client from the service.

Id
Returns the task identifier for this task.

IsSuccessful
Indicates whether the corresponding task was successfully processed by the service instance.

PopulateTaskOutput(Message)
Populates message with the task result that was passed back to the client from the service.

Remarks

For synchronous retrieval of task responses, Session.FetchTaskOutput can be invoked to retrieve an EnumItems object, which contains a series of TaskOutputHandles. You can enumerate through this object by using the enumeration in a foreach loop.

For asynchronous processing of task responses, the TaskOutputHandle will be passed to the SessionCallback.ResponseHandler delegate when that task has completed.

Inheritance Hierarchy
Object
TaskOutputHandle

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