| ImapCloseAsync Method (Boolean) |
Sends LOGOUT command. Releases all resources acquired by this object.
Namespace:
Limilabs.Client.IMAP
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 ImapResponseException on error response to LOGOUT command.
Return Value
Type:
TaskA task that represents the asynchronous close operation.
See Also