Interface BehaviorExceptionContext<TSaga, TMessage, TException>
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
An exceptional behavior context
public interface BehaviorExceptionContext<TSaga, out TMessage, out TException> : BehaviorContext<TSaga, TMessage>, SagaConsumeContext<TSaga, TMessage>, ConsumeContext<TMessage>, BehaviorExceptionContext<TSaga, TException>, BehaviorContext<TSaga>, SagaConsumeContext<TSaga>, ConsumeContext, PipeContext, MessageContext, IPublishEndpoint, IPublishObserverConnector, ISendEndpointProvider, ISendObserverConnector where TSaga : class, ISaga where TMessage : class where TException : Exception
Type Parameters
TSaga
TMessage
TException
- Inherited Members
- Extension Methods
-
SchedulePublishExtensions.SchedulePublish(ConsumeContext, DateTime, object, Type, CancellationToken)SchedulePublishExtensions.SchedulePublish(ConsumeContext, TimeSpan, object, Type, CancellationToken)SendConsumeContextExecuteExtensions.Send(ConsumeContext, Uri, object, Type, Func<SendContext, Task>)
Methods
CreateProxy<T>(Event<T>, T)
Return a proxy of the current behavior context with the specified event and data
BehaviorExceptionContext<TSaga, T, out TException> CreateProxy<T>(Event<T> @event, T data) where T : class
Parameters
event
Event<T>The event for the new context
data
TThe data for the event
Returns
- BehaviorExceptionContext<TSaga, T, TException>
Type Parameters
T
The data type