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
EffectiveModeMailSynchronizationModeWhat the folder actually got: Push when a session was opened, and Polling when the server advertises no push mechanism.
SessionIMailboxNotificationSessionThe open session, which is present exactly when
EffectiveModeis Push and is the caller's to dispose.