Table of Contents

Delegate SendContextCallback<TSaga, T>

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll
public delegate void SendContextCallback<TSaga, in T>(BehaviorContext<TSaga> context, SendContext<in T> sendContext) where TSaga : class, ISaga where T : class

Parameters

context BehaviorContext<TSaga>
sendContext SendContext<T>

Type Parameters

TSaga
T

Constructors

SendContextCallback(object, nint)

public SendContextCallback(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(BehaviorContext<TSaga>, SendContext<T>, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(BehaviorContext<TSaga> context, SendContext<in T> sendContext, AsyncCallback callback, object @object)

Parameters

context BehaviorContext<TSaga>
sendContext SendContext<T>
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(BehaviorContext<TSaga>, SendContext<T>)

public virtual void Invoke(BehaviorContext<TSaga> context, SendContext<in T> sendContext)

Parameters

context BehaviorContext<TSaga>
sendContext SendContext<T>