Table of Contents

Struct MessageDeduplicationLease

Namespace
AnyProtocol.Storage.Abstraction
Assembly
AnyProtocol.Storage.Abstraction.dll

Identifies ownership of one in-flight inbox record.

public readonly struct MessageDeduplicationLease : IEquatable<MessageDeduplicationLease>
Implements
Inherited Members

Constructors

MessageDeduplicationLease(string, string)

Identifies ownership of one in-flight inbox record.

public MessageDeduplicationLease(string MessageId, string Token)

Parameters

MessageId string

The transport message identifier.

Token string

The opaque ownership token issued by the store.

Properties

MessageId

The transport message identifier.

public string MessageId { get; init; }

Property Value

string

Token

The opaque ownership token issued by the store.

public string Token { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string)

public void Deconstruct(out string MessageId, out string Token)

Parameters

MessageId string
Token string

Equals(MessageDeduplicationLease)

public bool Equals(MessageDeduplicationLease other)

Parameters

other MessageDeduplicationLease

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(MessageDeduplicationLease, MessageDeduplicationLease)

public static bool operator ==(MessageDeduplicationLease left, MessageDeduplicationLease right)

Parameters

left MessageDeduplicationLease
right MessageDeduplicationLease

Returns

bool

operator !=(MessageDeduplicationLease, MessageDeduplicationLease)

public static bool operator !=(MessageDeduplicationLease left, MessageDeduplicationLease right)

Parameters

left MessageDeduplicationLease
right MessageDeduplicationLease

Returns

bool