Table of Contents

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

Properties

CurrentState

The current state of the state machine

State CurrentState { get; }

Property Value

State

Methods

Ignore()

Returns a Task that ignores the unhandled event

Task Ignore()

Returns

Task

Throw()

Returns a thrown exception task for the unhandled event

Task Throw()

Returns

Task