Aborts the current operation.
Namespace:
Rebex.Net
Assembly:
Rebex.Smtp (in Rebex.Smtp.dll)
Syntax
Visual Basic |
---|
Public Sub Abort |
C# |
---|
public void Abort() |
Remarks
The aborted operation will end either successfully, or with SmtpException of status OperationAborted or Timeout. The Smtp object may remain in Reading, Sending or Processing state. In this case, the Smtp object is not usable any more and a call to Disconnect()()()() is recommended.