C# 클래스 MailKit.Net.Imap.ImapCommand

An IMAP command.
파일 보기 프로젝트 열기: jstedfast/MailKit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
RespCodes List

공개 메소드들

메소드 설명
ImapCommand ( MailKit.Net.Imap.ImapEngine engine, CancellationToken cancellationToken, ImapFolder folder, MimeKit.FormatOptions options, string format ) : System

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

Creates a new MailKit.Net.Imap.ImapCommand.

ImapCommand ( MailKit.Net.Imap.ImapEngine engine, CancellationToken cancellationToken, ImapFolder folder, string format ) : System

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

Creates a new MailKit.Net.Imap.ImapCommand.

RegisterUntaggedHandler ( string atom, ImapUntaggedHandler handler ) : void

Registers the untagged handler for the specified atom token.

Step ( ) : bool

Sends the next part of the command to the server.

비공개 메소드들

메소드 설명
AppendString ( MimeKit.FormatOptions options, bool allowAtom, MemoryStream builder, string value ) : void
CanUseNonSynchronizedLiteral ( long length ) : bool
GetStringType ( string value, bool allowAtom ) : ImapStringType
IsAtom ( char c ) : bool
IsQuotedSafe ( char c ) : bool
UpdateProgress ( int n ) : void

메소드 상세

ImapCommand() 공개 메소드

Initializes a new instance of the MailKit.Net.Imap.ImapCommand class.
Creates a new MailKit.Net.Imap.ImapCommand.
public ImapCommand ( MailKit.Net.Imap.ImapEngine engine, CancellationToken cancellationToken, ImapFolder folder, MimeKit.FormatOptions options, string format ) : System
engine MailKit.Net.Imap.ImapEngine The IMAP engine that will be sending the command.
cancellationToken System.Threading.CancellationToken The cancellation token.
folder ImapFolder The IMAP folder that the command operates on.
options MimeKit.FormatOptions The formatting options.
format string The command format.
리턴 System

ImapCommand() 공개 메소드

Initializes a new instance of the MailKit.Net.Imap.ImapCommand class.
Creates a new MailKit.Net.Imap.ImapCommand.
public ImapCommand ( MailKit.Net.Imap.ImapEngine engine, CancellationToken cancellationToken, ImapFolder folder, string format ) : System
engine MailKit.Net.Imap.ImapEngine The IMAP engine that will be sending the command.
cancellationToken System.Threading.CancellationToken The cancellation token.
folder ImapFolder The IMAP folder that the command operates on.
format string The command format.
리턴 System

RegisterUntaggedHandler() 공개 메소드

Registers the untagged handler for the specified atom token.
/// is null. /// -or- /// is null. /// /// Untagged handlers must be registered before the command has been queued. ///
public RegisterUntaggedHandler ( string atom, ImapUntaggedHandler handler ) : void
atom string The atom token.
handler ImapUntaggedHandler The handler.
리턴 void

Step() 공개 메소드

Sends the next part of the command to the server.
/// The operation was canceled via the cancellation token. /// /// An I/O error occurred. /// /// An IMAP protocol error occurred. ///
public Step ( ) : bool
리턴 bool

프로퍼티 상세

RespCodes 공개적으로 프로퍼티

public List RespCodes
리턴 List