FetchAttachmentAsync
内容
[
隐藏
]FetchAttachmentAsync(IConnection, int, string)
获取指定的附件
public Task<Attachment> FetchAttachmentAsync(IConnection connection, int sequenceNumber,
string attachmentName)
范围 | 类型 | 描述 |
---|---|---|
connection | IConnection | 连接到服务器 |
sequenceNumber | Int32 | 消息的序号 |
attachmentName | String | 附件名称 |
返回值
任务对象,具有此操作的委托
也可以看看
- class Attachment
- interface IConnection
- class ImapClient
- 命名空间 Aspose.Email.Clients.Imap
- 部件 Aspose.Email
FetchAttachmentAsync(int, string)
获取指定的附件
public Task<Attachment> FetchAttachmentAsync(int sequenceNumber, string attachmentName)
范围 | 类型 | 描述 |
---|---|---|
sequenceNumber | Int32 | 消息的序号 |
attachmentName | String | 附件名称 |
返回值
任务对象,具有此操作的委托
也可以看看
- class Attachment
- class ImapClient
- 命名空间 Aspose.Email.Clients.Imap
- 部件 Aspose.Email
FetchAttachmentAsync(IConnection, int, string, CancellationToken)
获取指定的附件
public Task<Attachment> FetchAttachmentAsync(IConnection connection, int sequenceNumber,
string attachmentName, CancellationToken token)
范围 | 类型 | 描述 |
---|---|---|
connection | IConnection | 连接到服务器 |
sequenceNumber | Int32 | 消息的序号 |
attachmentName | String | 附件名称 |
token | CancellationToken | 传播应取消操作的通知。 |
返回值
任务对象,具有此操作的委托
也可以看看
- class Attachment
- interface IConnection
- class ImapClient
- 命名空间 Aspose.Email.Clients.Imap
- 部件 Aspose.Email
FetchAttachmentAsync(int, string, CancellationToken)
获取指定的附件
public Task<Attachment> FetchAttachmentAsync(int sequenceNumber, string attachmentName,
CancellationToken token)
范围 | 类型 | 描述 |
---|---|---|
sequenceNumber | Int32 | 消息的序号 |
attachmentName | String | 附件名称 |
token | CancellationToken | 传播应取消操作的通知。 |
返回值
任务对象,具有此操作的委托
也可以看看
- class Attachment
- class ImapClient
- 命名空间 Aspose.Email.Clients.Imap
- 部件 Aspose.Email