IMessageHandler<TMessage> 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.
Caution
Use [MessageHandler] attribute on methods in a partial class deriving from Executor. This interface will be removed in a future version.
A message handler interface for handling messages of type TMessage.
[System.Obsolete("Use [MessageHandler] attribute on methods in a partial class deriving from Executor. This interface will be removed in a future version.")]
public interface IMessageHandler<TMessage>
[<System.Obsolete("Use [MessageHandler] attribute on methods in a partial class deriving from Executor. This interface will be removed in a future version.")>]
type IMessageHandler<'Message> = interface
Public Interface IMessageHandler(Of TMessage)
Type Parameters
- TMessage
- Derived
- Attributes
Remarks
This interface is obsolete. Use the MessageHandlerAttribute on methods in a partial class deriving from Executor instead.
Methods
| Name | Description |
|---|---|
| HandleAsync(TMessage, IWorkflowContext, CancellationToken) |
Handles the incoming message asynchronously. |