Table of Contents

Struct SupportMailPosition

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

How far this deployment has read the support mailbox.

public readonly record struct SupportMailPosition : IEquatable<SupportMailPosition>
Implements
Inherited Members

Constructors

SupportMailPosition(uint, uint)

How far this deployment has read the support mailbox.

public SupportMailPosition(uint UidValidity, uint LastUid)

Parameters

UidValidity uint

The mailbox's UID generation. A server changing this makes every stored UID refer to a different message, so the position must be discarded rather than trusted.

LastUid uint

The highest UID already considered. Zero means nothing has been read.

Properties

LastUid

The highest UID already considered. Zero means nothing has been read.

public uint LastUid { get; init; }

Property Value

uint

Start

Nothing has been read yet.

public static SupportMailPosition Start { get; }

Property Value

SupportMailPosition

UidValidity

The mailbox's UID generation. A server changing this makes every stored UID refer to a different message, so the position must be discarded rather than trusted.

public uint UidValidity { get; init; }

Property Value

uint