| SmtpCloseAsync Method (Boolean) |
Sends QUIT command. Disconnects and releases all resources acquired by this object.
Namespace:
Limilabs.Client.SMTP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task CloseAsync(
bool throwException
)
Public Function CloseAsync (
throwException As Boolean
) As Task
public:
Task^ CloseAsync(
bool throwException
)
member CloseAsync :
throwException : bool -> Task
Parameters
- throwException
- Type: SystemBoolean
If true throws SmtpResponseException on error response.
Return Value
Type:
TaskA task that represents the asynchronous close operation.
See Also