Imap.DisconnectAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9083)
DisconnectAsync(Object)
Begins asynchronous Disconnect operation. Disconnects from the IMAP server.
Declaration
public Task<string> DisconnectAsync(object state = null)
Parameters
Type | Name | Description |
---|---|---|
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<String> | The exit message returned by the server. |