Delegate ProducerBehaviorHandler
The delegate that describes a message handler in the producer pipeline.
Assembly: Silverback.Integration.dll
Syntax
public delegate ValueTask ProducerBehaviorHandler(ProducerPipelineContext context, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| ProducerPipelineContext |
context |
The context that is passed along the producer behaviors pipeline.
|
| CancellationToken |
cancellationToken |
The cancellation token that can be used to cancel the operation.
|
Returns
Constructors
ProducerBehaviorHandler(object, nint)
The delegate that describes a message handler in the producer pipeline.
Declaration
public ProducerBehaviorHandler(object @object, nint method)
Parameters
Methods
BeginInvoke(ProducerPipelineContext, CancellationToken, AsyncCallback, object)
The delegate that describes a message handler in the producer pipeline.
Declaration
public virtual IAsyncResult BeginInvoke(ProducerPipelineContext context, CancellationToken cancellationToken, AsyncCallback callback, object @object)
Parameters
Returns
EndInvoke(IAsyncResult)
The delegate that describes a message handler in the producer pipeline.
Declaration
public virtual ValueTask EndInvoke(IAsyncResult result)
Parameters
Returns
Invoke(ProducerPipelineContext, CancellationToken)
The delegate that describes a message handler in the producer pipeline.
Declaration
public virtual ValueTask Invoke(ProducerPipelineContext context, CancellationToken cancellationToken)
Parameters
Returns