Delegate SendExceptionContextCallback<TSaga, TException, T>
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
public delegate void SendExceptionContextCallback<TSaga, in TException, in T>(BehaviorExceptionContext<TSaga, in TException> context, SendContext<in T> sendContext) where TSaga : class, ISaga where TException : Exception where T : class
Parameters
context
BehaviorExceptionContext<TSaga, TException>
sendContext
SendContext<T>
Type Parameters
TSaga
TException
T
Constructors
SendExceptionContextCallback(object, nint)
public SendExceptionContextCallback(object @object, nint method)
Parameters
object
object
method
nint
Methods
BeginInvoke(BehaviorExceptionContext<TSaga, TException>, SendContext<T>, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(BehaviorExceptionContext<TSaga, in TException> context, SendContext<in T> sendContext, AsyncCallback callback, object @object)
Parameters
context
BehaviorExceptionContext<TSaga, TException>
sendContext
SendContext<T>
callback
AsyncCallback
object
object
Returns
- IAsyncResult
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(BehaviorExceptionContext<TSaga, TException>, SendContext<T>)
public virtual void Invoke(BehaviorExceptionContext<TSaga, in TException> context, SendContext<in T> sendContext)
Parameters
context
BehaviorExceptionContext<TSaga, TException>
sendContext
SendContext<T>