DisconnectAsync Method
Disconnects from the SMTP server.
Syntax
[VB.NET]
Public Function DisconnectAsync() As Task
[C#]
public Task DisconnectAsync();
Remarks
This method is the asynchronous version of the
Disconnect method and is used to support asynchronous operations in WinRT. Please refer to
Disconnect for more information.