Pop3ClientGetMessageSizeAsync Method (IConnection, String, CancellationToken)

Gets the size of the message

Namespace:  Aspose.Email.Clients.Pop3
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task<long> GetMessageSizeAsync(
	IConnection connection,
	string uniqueId,
	CancellationToken token
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
uniqueId
Type: SystemString
The unique id of the message
token
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

Type: TaskInt64
Task object, with delegate for this operation
See Also