Populates message with the task result that was passed back to the client from the service.

C# |
public void PopulateTaskOutput( Message outputMessage )

- outputMessage (Message)
- The message to populate

IMPORTANT NOTE: If you sent your task output as a Platform.Symphony.Soam.Message using Symphony Serialization, you must use this method to retrieve it.
If you sent your task output as a [Serializable] object using Native Serialization, use the GetTaskOutput 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 invoking TaskOutputHandle.isSuccessful to verify that the task had succeeded. |