C# Class MailKit.Net.Imap.ImapIdleContext

Inheritance: IDisposable
Show file Open project: jstedfast/MailKit Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Releases all resource used by the MailKit.Net.Imap.ImapIdleContext object.

Call Dispose when you are finished using the MailKit.Net.Imap.ImapIdleContext. The Dispose method leaves the MailKit.Net.Imap.ImapIdleContext in an unusable state. After calling Dispose, you must release all references to the MailKit.Net.Imap.ImapIdleContext so the garbage collector can reclaim the memory that the MailKit.Net.Imap.ImapIdleContext was occupying.

ImapIdleContext ( MailKit.Net.Imap.ImapEngine engine, CancellationToken doneToken, CancellationToken cancellationToken ) : System

Initializes a new instance of the MailKit.Net.Imap.ImapIdleContext class.

Creates a new MailKit.Net.Imap.ImapIdleContext.

Method Details

Dispose() public method

Releases all resource used by the MailKit.Net.Imap.ImapIdleContext object.
Call Dispose when you are finished using the MailKit.Net.Imap.ImapIdleContext. The Dispose method leaves the MailKit.Net.Imap.ImapIdleContext in an unusable state. After calling Dispose, you must release all references to the MailKit.Net.Imap.ImapIdleContext so the garbage collector can reclaim the memory that the MailKit.Net.Imap.ImapIdleContext was occupying.
public Dispose ( ) : void
return void

ImapIdleContext() public method

Initializes a new instance of the MailKit.Net.Imap.ImapIdleContext class.
Creates a new MailKit.Net.Imap.ImapIdleContext.
public ImapIdleContext ( MailKit.Net.Imap.ImapEngine engine, CancellationToken doneToken, CancellationToken cancellationToken ) : System
engine MailKit.Net.Imap.ImapEngine The IMAP engine.
doneToken System.Threading.CancellationToken The done token.
cancellationToken System.Threading.CancellationToken The cancellation token.
return System