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

Pop3.DeleteAsync Method

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

DeleteAsync(Int32, Object)

Begins asynchronous Delete operation. Marks a message as deleted. Messages marked as deleted will actually be deleted after a call to Disconnect() method.

Declaration
public Task DeleteAsync(int sequenceNumber, object state = null)
Parameters
Type Name Description
Int32 sequenceNumber

The sequence number of the message to delete.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task
Remarks

Represents POP3 DELE command.

Use Undelete() method to unmarked messages marked as deleted.

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