IMessageHandler<TMessage,TResult> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A message handler interface for handling messages of type TMessage and
returning a result.
public interface IMessageHandler<TMessage,TResult>
type IMessageHandler<'Message, 'Result> = interface
Public Interface IMessageHandler(Of TMessage, TResult)
Type Parameters
- TMessage
The type of message to handle.
- TResult
The type of result returned after handling the message.
- Derived
Methods
| Name | Description |
|---|---|
| HandleAsync(TMessage, IWorkflowContext, CancellationToken) |
Handles the incoming message asynchronously. |