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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also