DeleteMessageAsync

Pop3Client.DeleteMessageAsync method (1 of 8)

Deletes the message

public Task DeleteMessageAsync(IConnection connection, int sequenceNumber)
Parameter Type Description
connection IConnection Connection to a server
sequenceNumber Int32 The sequence number of the message

Return Value

Task object, with delegate for this operation

Remarks

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state.

See Also


Pop3Client.DeleteMessageAsync method (2 of 8)

Deletes the message

public Task DeleteMessageAsync(IConnection connection, string uniqueId)
Parameter Type Description
connection IConnection Connection to a server
uniqueId String The unique id of the message

Return Value

Task object, with delegate for this operation

Remarks

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state.

See Also


Pop3Client.DeleteMessageAsync method (3 of 8)

Deletes the message

public Task DeleteMessageAsync(int sequenceNumber)
Parameter Type Description
sequenceNumber Int32 The sequence number of the message

Return Value

Task object, with delegate for this operation

Remarks

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state.

See Also


Pop3Client.DeleteMessageAsync method (4 of 8)

Deletes the message

public Task DeleteMessageAsync(string uniqueId)
Parameter Type Description
uniqueId String The unique id of the message

Return Value

Task object, with delegate for this operation

Remarks

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state.

See Also


Pop3Client.DeleteMessageAsync method (5 of 8)

Deletes the message

public Task DeleteMessageAsync(IConnection connection, int sequenceNumber, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
sequenceNumber Int32 The sequence number of the message
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

Remarks

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state.

See Also


Pop3Client.DeleteMessageAsync method (6 of 8)

Deletes the message

public Task DeleteMessageAsync(IConnection connection, string uniqueId, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
uniqueId String The unique id of the message
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

Remarks

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state.

See Also


Pop3Client.DeleteMessageAsync method (7 of 8)

Deletes the message

public Task DeleteMessageAsync(int sequenceNumber, CancellationToken token)
Parameter Type Description
sequenceNumber Int32 The sequence number of the message
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

Remarks

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state.

See Also


Pop3Client.DeleteMessageAsync method (8 of 8)

Deletes the message

public Task DeleteMessageAsync(string uniqueId, CancellationToken token)
Parameter Type Description
uniqueId String The unique id of the message
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

Remarks

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state.

See Also