Table of Contents

Class InboxDeduplicationOptions

Namespace
AnyProtocol
Assembly
AnyProtocol.dll

Configures inbox lease and completed-record lifetimes.

public sealed record InboxDeduplicationOptions : IEquatable<InboxDeduplicationOptions>
Inheritance
InboxDeduplicationOptions
Implements
Inherited Members

Constructors

InboxDeduplicationOptions()

public InboxDeduplicationOptions()

Properties

LeaseDuration

Gets or initializes how long an abandoned worker may own an in-flight lease.

public TimeSpan LeaseDuration { get; init; }

Property Value

TimeSpan

Retention

Gets or initializes how long a completed message remains deduplicated.

public TimeSpan Retention { get; init; }

Property Value

TimeSpan

StoreName

Gets or initializes the logical deduplication store name.

public required string StoreName { get; init; }

Property Value

string

Methods

Equals(InboxDeduplicationOptions?)

public bool Equals(InboxDeduplicationOptions? other)

Parameters

other InboxDeduplicationOptions

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 ==(InboxDeduplicationOptions?, InboxDeduplicationOptions?)

public static bool operator ==(InboxDeduplicationOptions? left, InboxDeduplicationOptions? right)

Parameters

left InboxDeduplicationOptions
right InboxDeduplicationOptions

Returns

bool

operator !=(InboxDeduplicationOptions?, InboxDeduplicationOptions?)

public static bool operator !=(InboxDeduplicationOptions? left, InboxDeduplicationOptions? right)

Parameters

left InboxDeduplicationOptions
right InboxDeduplicationOptions

Returns

bool