Platform Symphony .NET API Reference - Version 4.1
SetTaskOutput Method (outMsg)
NamespacesPlatform.Symphony.SoamTaskContextSetTaskOutput(Message)
Sets the task output message that is to be sent back to the client.
Declaration Syntax
C#
public void SetTaskOutput(
	Message outMsg
)
Parameters
outMsg (Message)
The output message to be returned to the client
Remarks

To retrieve this task response on the client, you must use [Session.FetchTaskOutput] for a synchronous Session, or register a handler with the OnResponse event for an asynchronous Session.

IMPORTANT NOTE: This SetTaskOutput overload uses Symphony Serialization. That is, the service will send your task output to the client as a Platform.Symphony.Soam.Message. If you set your task output using this overload, you must retrieve your task output on the client with the TaskOutputHandle.PopulateTaskOutput(Platform.Symphony.Soam.Message) method.

By using Symphony Serialization, this overload provides best performance and memory usage for sending task output.

For more details, please refer to the Application Development Guide.

Exceptions
ExceptionCondition
[SoamException]If output message could not be set.
See Also
[Session.FetchTaskOutput]
[SessionCallback]

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