Table of Contents

Class MailboxFolderSetNotificationSessionResult

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

Reports whether one session can watch a set of folders, and the session to watch them with.

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

Remarks

A declined subscription says nothing about whether one folder at a time can be watched, so a caller that receives Polling here still has the single-folder session to try.

Constructors

MailboxFolderSetNotificationSessionResult(MailSynchronizationMode, IMailboxFolderSetNotificationSession?)

Reports whether one session can watch a set of folders, and the session to watch them with.

Properties

EffectiveMode

What the folders actually got: Push when a session was opened, and Polling when the server advertises no mechanism for watching a set.

Session

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

Methods

SubscriptionNotAdvertised()

Reports a server that advertises no mechanism for watching several folders over one connection.

Watching(IMailboxFolderSetNotificationSession)

Reports a set of folders the server will report changes for over one connection.