Pop3Client.FetchMessageAsync
Contents
[
Hide
]FetchMessageAsync(IConnection, string)
Fetches the message
public Task<MailMessage> FetchMessageAsync(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
- class MailMessage
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
FetchMessageAsync(IConnection, int)
Fetches the message
public Task<MailMessage> FetchMessageAsync(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
- class MailMessage
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
FetchMessageAsync(string)
Fetches the message
public Task<MailMessage> FetchMessageAsync(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 MailMessage
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
FetchMessageAsync(int)
Fetches the message
public Task<MailMessage> FetchMessageAsync(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 MailMessage
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
FetchMessageAsync(IConnection, string, CancellationToken)
Fetches the message
public Task<MailMessage> FetchMessageAsync(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
- class MailMessage
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
FetchMessageAsync(IConnection, int, CancellationToken)
Fetches the message
public Task<MailMessage> FetchMessageAsync(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
- class MailMessage
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
FetchMessageAsync(string, CancellationToken)
Fetches the message
public Task<MailMessage> FetchMessageAsync(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 MailMessage
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
FetchMessageAsync(int, CancellationToken)
Fetches the message
public Task<MailMessage> FetchMessageAsync(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 MailMessage
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email