Share via


IMessageHandler<TMessage> Interface

Definition

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.

Applies to