Table of Contents

Class FutureState

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll
public class FutureState : SagaStateMachineInstance, ISagaVersion, ISaga
Inheritance
FutureState
Implements
Inherited Members

Constructors

FutureState()

public FutureState()

Properties

Command

public FutureMessage Command { get; set; }

Property Value

FutureMessage

Completed

public DateTime? Completed { get; set; }

Property Value

DateTime?

CorrelationId

Identifies the saga instance uniquely, and is the primary correlation for the instance. While the setter is not typically called, it is there to support persistence consistently across implementations.

public Guid CorrelationId { get; set; }

Property Value

Guid

Created

public DateTime Created { get; set; }

Property Value

DateTime

CurrentState

public int CurrentState { get; set; }

Property Value

int

Faulted

public DateTime? Faulted { get; set; }

Property Value

DateTime?

Faults

public Dictionary<Guid, FutureMessage> Faults { get; set; }

Property Value

Dictionary<Guid, FutureMessage>

Location

public Uri Location { get; set; }

Property Value

Uri

Pending

public HashSet<Guid> Pending { get; set; }

Property Value

HashSet<Guid>

Results

public Dictionary<Guid, FutureMessage> Results { get; set; }

Property Value

Dictionary<Guid, FutureMessage>

RowVersion

public byte[] RowVersion { get; set; }

Property Value

byte[]

Subscriptions

public HashSet<FutureSubscription> Subscriptions { get; set; }

Property Value

HashSet<FutureSubscription>

Variables

public Dictionary<string, object> Variables { get; set; }

Property Value

Dictionary<string, object>

Version

public int Version { get; set; }

Property Value

int

Methods

HasFaults()

public bool HasFaults()

Returns

bool

HasPending()

public bool HasPending()

Returns

bool

HasResults()

public bool HasResults()

Returns

bool

HasSubscriptions()

public bool HasSubscriptions()

Returns

bool

HasVariables()

public bool HasVariables()

Returns

bool