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
Syntaxpublic Task<long> GetMessageSizeAsync(
IConnection connection,
string uniqueId,
CancellationToken token
)
Public Function GetMessageSizeAsync (
connection As IConnection,
uniqueId As String,
token As CancellationToken
) As Task(Of Long)
public:
Task<long long>^ GetMessageSizeAsync(
IConnection^ connection,
String^ uniqueId,
CancellationToken token
)
member GetMessageSizeAsync :
connection : IConnection *
uniqueId : string *
token : CancellationToken -> Task<int64>
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:
TaskInt64Task object, with delegate for this operation
See Also