Pop3Client.GetMessageSizeAsync
Contents
[
Hide
]GetMessageSizeAsync(IConnection, string)
Gets the size of the message
public Task<long> GetMessageSizeAsync(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
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageSizeAsync(string)
Gets the size of the message
public Task<long> GetMessageSizeAsync(string uniqueId)
| Parameter | Type | Description |
|---|---|---|
| uniqueId | String | The unique id of the message |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageSizeAsync(IConnection, int)
Gets the size of the message
public Task<long> GetMessageSizeAsync(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
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageSizeAsync(int)
Gets the size of the message
public Task<long> GetMessageSizeAsync(int sequenceNumber)
| Parameter | Type | Description |
|---|---|---|
| sequenceNumber | Int32 | The sequence number of the message |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageSizeAsync(IConnection, string, CancellationToken)
Gets the size of the message
public Task<long> GetMessageSizeAsync(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
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageSizeAsync(string, CancellationToken)
Gets the size of the message
public Task<long> GetMessageSizeAsync(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
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageSizeAsync(IConnection, int, CancellationToken)
Gets the size of the message
public Task<long> GetMessageSizeAsync(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
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageSizeAsync(int, CancellationToken)
Gets the size of the message
public Task<long> GetMessageSizeAsync(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
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email