The middleware triggers the invocation of this handler every time a task input is sent to the service to be processed.

C# |
public abstract void OnInvoke( TaskContext taskContext )

- taskContext (TaskContext)
- Context for the task passed from the client application to the service.

The actual service logic should be implemented in this method. This is the only method that is mandatory for the application developer to implement.

Exception | Condition |
---|---|
[SoamException] | The application developer can throw SoamException (or subclassed exceptions: FailureException or FatalException) from this method to indicate that an error occurred during task processing. |

[TaskContext]