Table of Contents

Constructor MailboxFolderSetNotificationSessionResult

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

MailboxFolderSetNotificationSessionResult(MailSynchronizationMode, IMailboxFolderSetNotificationSession?)

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

public MailboxFolderSetNotificationSessionResult(MailSynchronizationMode EffectiveMode, IMailboxFolderSetNotificationSession? Session)

Parameters

EffectiveMode MailSynchronizationMode

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

Session IMailboxFolderSetNotificationSession

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

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.