Table of Contents

Constructor MailboxNotificationSessionResult

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

MailboxNotificationSessionResult(MailSynchronizationMode, IMailboxNotificationSession?)

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

public MailboxNotificationSessionResult(MailSynchronizationMode EffectiveMode, IMailboxNotificationSession? Session)

Parameters

EffectiveMode MailSynchronizationMode

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

Session IMailboxNotificationSession

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