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

C# |
public Object GetTaskOutput()

The task output object

IMPORTANT NOTE: If you sent your task output as a [Serializable] object using Native Serialization, you must use this method to retrieve it.
If you sent your task output as a Platform.Symphony.Soam.Message using Symphony Serialization, use the PopulateTaskOutput method instead.

Exception | Condition |
---|---|
SoamException | If there is no output message available and this method is called, an exception will be thrown. Avoid erroneously calling this method by checking the IsSuccessful property to verify that the task had succeeded. |