ImapClient.FetchAttachmentAsync
Contents
[
Hide
]FetchAttachmentAsync(IConnection, int, string)
Fetches the specified attachment
public Task<Attachment> FetchAttachmentAsync(IConnection connection, int sequenceNumber,
string attachmentName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of a message |
attachmentName | String | A name of attachment |
Return Value
Task object, with delegate for this operation
See Also
- class Attachment
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchAttachmentAsync(int, string)
Fetches the specified attachment
public Task<Attachment> FetchAttachmentAsync(int sequenceNumber, string attachmentName)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of a message |
attachmentName | String | A name of attachment |
Return Value
Task object, with delegate for this operation
See Also
- class Attachment
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchAttachmentAsync(IConnection, int, string, CancellationToken)
Fetches the specified attachment
public Task<Attachment> FetchAttachmentAsync(IConnection connection, int sequenceNumber,
string attachmentName, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of a message |
attachmentName | String | A name of attachment |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class Attachment
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchAttachmentAsync(int, string, CancellationToken)
Fetches the specified attachment
public Task<Attachment> FetchAttachmentAsync(int sequenceNumber, string attachmentName,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of a message |
attachmentName | String | A name of attachment |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class Attachment
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email