C# Class SmtpServer.Protocol.DataCommand

Inheritance: SmtpCommand
Afficher le fichier Open project: cosullivan/SmtpServer Class Usage Examples

Méthodes publiques

Méthode Description
DataCommand ( IMessageStoreFactory messageStoreFactory ) : System

Constructor.

ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Execute the command.

Method Details

DataCommand() public méthode

Constructor.
public DataCommand ( IMessageStoreFactory messageStoreFactory ) : System
messageStoreFactory IMessageStoreFactory The message store factory.
Résultat System

ExecuteAsync() public méthode

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.
Résultat Task