Interface UnhandledEventContext<TSaga>
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
The context of an unhandled event in the state machine
public interface UnhandledEventContext<TSaga> : BehaviorContext<TSaga>, SagaConsumeContext<TSaga>, ConsumeContext, PipeContext, MessageContext, IPublishEndpoint, IPublishObserverConnector, ISendEndpointProvider, ISendObserverConnector where TSaga : class, ISaga
Type Parameters
TSaga
- 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>)
Properties
CurrentState
The current state of the state machine
State CurrentState { get; }
Property Value
Methods
Ignore()
Returns a Task that ignores the unhandled event
Task Ignore()
Returns
Throw()
Returns a thrown exception task for the unhandled event
Task Throw()