FetchAttachmentAsync
IAsyncImapClient.FetchAttachmentAsync method
获取指定的附件。
public Task<Attachment> FetchAttachmentAsync(int sequenceNumber, string attachmentName,
IConnection connection = null, CancellationToken token = default)
| 范围 | 类型 | 描述 |
|---|---|---|
| connection | Int32 | 连接到服务器。 |
| sequenceNumber | String | 消息的序列号。 |
| attachmentName | IConnection | 附件名称。 |
| token | CancellationToken | 传播应取消操作的通知。 |
返回值
Attachment代表附件。
也可以看看
- class Attachment
- interface IConnection
- interface IAsyncImapClient
- 命名空间 Aspose.Email.Clients.Imap
- 部件 Aspose.Email