Table of Contents

Class MailboxNotificationSessionResult

Namespace
MailFathom.Application.Synchronization.Sessions
Assembly
MailFathom.Application.dll

Reports whether a folder can be watched for changes, and the session to watch it with.

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

Constructors

MailboxNotificationSessionResult(MailSynchronizationMode, IMailboxNotificationSession?)

Reports whether a folder can be watched for changes, and the session to watch it with.

Properties

EffectiveMode

What the folder actually got: Push when a session was opened, and Polling when the server advertises no push mechanism.

Session

The open session, which is present exactly when EffectiveMode is Push and is the caller's to dispose.

Methods

PushNotAdvertised()

Reports a server that advertises no push mechanism, so the folder is polled instead.

Watching(IMailboxNotificationSession)

Reports a folder the server will report changes for.