Platform Symphony .NET API Reference - Version 4.1
SendTaskInput Method (message, hasPriority)
NamespacesPlatform.Symphony.SoamSessionSendTaskInput(Message, Boolean)
Delivers the provided task input message to the middleware.
Declaration Syntax
C#
public TaskInputHandle SendTaskInput(
	Message message,
	bool hasPriority
)
Parameters
message (Message)
The task input object to be sent to SOAM
hasPriority (Boolean)
This is used to indicate to the Middleware if the message being submitted should take priority in the current session. When set to "true" the message will be used to create a task which will be placed at the front of the dispatch queue. When set to "false" the newly created task will be placed at the rear of the dispatch queue (this is the default behavior when the overloaded form of the method is used without specifying this parameter).
Return Value
A handle to the submitted task input object
Remarks

Delivers the provided task input object to the middleware. This method will block until the client receives acknowledgement from the middleware that the input object has been safely accepted. Upon receiving this acknowledgement, a task ID will be returned through a TaskInputHandle.

IMPORTANT NOTE: This SendTaskInput overload uses Symphony Serialization. That is, it sends your task input to the service as a Platform.Symphony.Soam.Message. If you send your task input using this overload, you must retrieve your task input on the service with the TaskContext.PopulateTaskInput(Platform.Symphony.Soam.Message) method.

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

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

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