Pop3Client.GetMessageSizeAsync

GetMessageSizeAsync(IConnection, string)

Gets the size of the message

public Task<long> GetMessageSizeAsync(IConnection connection, string uniqueId)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique id of the message

Return Value

Task object, with delegate for this operation

See Also


GetMessageSizeAsync(string)

Gets the size of the message

public Task<long> GetMessageSizeAsync(string uniqueId)
ParameterTypeDescription
uniqueIdStringThe unique id of the message

Return Value

Task object, with delegate for this operation

See Also


GetMessageSizeAsync(IConnection, int)

Gets the size of the message

public Task<long> GetMessageSizeAsync(IConnection connection, int sequenceNumber)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message

Return Value

Task object, with delegate for this operation

See Also


GetMessageSizeAsync(int)

Gets the size of the message

public Task<long> GetMessageSizeAsync(int sequenceNumber)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message

Return Value

Task object, with delegate for this operation

See Also


GetMessageSizeAsync(IConnection, string, CancellationToken)

Gets the size of the message

public Task<long> GetMessageSizeAsync(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

See Also


GetMessageSizeAsync(string, CancellationToken)

Gets the size of the message

public Task<long> GetMessageSizeAsync(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

See Also


GetMessageSizeAsync(IConnection, int, CancellationToken)

Gets the size of the message

public Task<long> GetMessageSizeAsync(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

See Also


GetMessageSizeAsync(int, CancellationToken)

Gets the size of the message

public Task<long> GetMessageSizeAsync(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

See Also