Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Pop3.DisconnectAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Pop3.dll (version 7.0.9147)

DisconnectAsync(Boolean, Object)

Begins asynchronous Disconnect operation. Deletes any messages marked as deleted and terminate the connection.

Declaration
public Task<string> DisconnectAsync(bool rollbackChanges, object state = null)
Parameters
Type Name Description
Boolean rollbackChanges

True if messages marked as deleted should be left on the server.

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.

Remarks

Represents POP3 QUIT command, with optional preceding RSET.

In This Article
  • DisconnectAsync(Boolean, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies