C# Class SmtpServer.Protocol.DataCommand

Inheritance: SmtpCommand
ファイルを表示 Open project: cosullivan/SmtpServer Class Usage Examples

Public Methods

Method Description
DataCommand ( IMessageStoreFactory messageStoreFactory ) : System

Constructor.

ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Execute the command.

Method Details

DataCommand() public method

Constructor.
public DataCommand ( IMessageStoreFactory messageStoreFactory ) : System
messageStoreFactory IMessageStoreFactory The message store factory.
return System

ExecuteAsync() public method

Execute the command.
public ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task
context ISmtpSessionContext The execution context to operate on.
cancellationToken System.Threading.CancellationToken The cancellation token.
return Task