Table of Contents

Class CorrelationToken

Namespace
Cuemon.Messaging
Assembly
Cuemon.Core.dll

Provides a default implementation of the ICorrelationToken interface.

public record CorrelationToken : ICorrelationToken, IEquatable<CorrelationToken>
Inheritance
CorrelationToken
Implements

Constructors

CorrelationToken(string)

Initializes a new instance of the CorrelationToken class.

public CorrelationToken(string correlationId = null)

Parameters

correlationId string

The string that uniquely identifies a correlation. Default value is a GUID expressed as 32 digits.

Properties

CorrelationId

Gets the unique correlation identifier.

public string CorrelationId { get; }

Property Value

string

The unique correlation identifier.

Methods

ToString()

Returns a string that represents this instance.

public override string ToString()

Returns

string

A string that represents this instance.

See Also