Pop3Client.DeleteMessageAsync

DeleteMessageAsync(IConnection, int)

Deletes the message

public Task DeleteMessageAsync(IConnection connection, int sequenceNumber)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The 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


DeleteMessageAsync(IConnection, string)

Deletes the message

public Task DeleteMessageAsync(IConnection connection, string uniqueId)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe 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


DeleteMessageAsync(int)

Deletes the message

public Task DeleteMessageAsync(int sequenceNumber)
ParameterTypeDescription
sequenceNumberInt32The 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


DeleteMessageAsync(string)

Deletes the message

public Task DeleteMessageAsync(string uniqueId)
ParameterTypeDescription
uniqueIdStringThe 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


DeleteMessageAsync(IConnection, int, CancellationToken)

Deletes the message

public Task DeleteMessageAsync(IConnection connection, int sequenceNumber, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
tokenCancellationTokenPropagates 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


DeleteMessageAsync(IConnection, string, CancellationToken)

Deletes the message

public Task DeleteMessageAsync(IConnection connection, string uniqueId, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique id of the message
tokenCancellationTokenPropagates 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


DeleteMessageAsync(int, CancellationToken)

Deletes the message

public Task DeleteMessageAsync(int sequenceNumber, CancellationToken token)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
tokenCancellationTokenPropagates 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


DeleteMessageAsync(string, CancellationToken)

Deletes the message

public Task DeleteMessageAsync(string uniqueId, CancellationToken token)
ParameterTypeDescription
uniqueIdStringThe unique id of the message
tokenCancellationTokenPropagates 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