C# Class SmtpServer.Protocol.SmtpCommand

Show file Open project: cosullivan/SmtpServer Class Usage Examples

Public Methods

Method Description
ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Execute the command.

Method Details

ExecuteAsync() public abstract method

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