Platform Symphony .NET API Reference - Version 4.1
SetTaskOutput Method (output)
NamespacesPlatform.Symphony.SoamTaskContextSetTaskOutput(Object)
Sets the task output object that is to be sent back to the client.
Declaration Syntax
C#
public void SetTaskOutput(
	Object output
)
Parameters
output (Object)
The output object 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 implement a SessionCallback for an asynchronous Session.

IMPORTANT NOTE: This SetTaskOutput overload uses Native Serialization. That is, the service will send your task output to the client as a [Serializable] object. If you send your task output using this overload, you must retrieve your task output on the client with the TaskOutputHandle.GetTaskOutput() method.

If you are concerned with performance or memory usage, do not use this method to send your task output. Instead, use another SetTaskOutput overload to send your task output as a Platform.Symphony.Soam.Message using Symphony Serialization.

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

See Also
[Session.FetchTaskOutput]
[SessionCallback]

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