Table of Contents

Class InVar

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll

Variables, which can be used for message initialization

public static class InVar
Inheritance
InVar
Inherited Members

Properties

CorrelationId

Generates a new identifier, and maintains that identifier for the entire message initializer lifetime, so that subsequent uses of the identifier return the same value. There are multiple aliases for the same identifier, so that property names are automatically inferred (Id, CorrelationId, etc.).

public static IdVariable CorrelationId { get; }

Property Value

IdVariable

Id

Generates a new identifier, and maintains that identifier for the entire message initializer lifetime, so that subsequent uses of the identifier return the same value. There are multiple aliases for the same identifier, so that property names are automatically inferred (Id, CorrelationId, etc.).

public static IdVariable Id { get; }

Property Value

IdVariable

Timestamp

Generates the current timestamp, in UTC, which can be used to initialize properties in the message with a consistent value

public static TimestampVariable Timestamp { get; }

Property Value

TimestampVariable