FetchAttachment

ExchangeClient.FetchAttachment method

获取附件

public Attachment FetchAttachment(string attachmentUri)
范围类型描述
attachmentUriString附件uri. (可以使用ListMessages(文件夹,ExchangeListMessagesOptions.FetchAttachmentInformation)方法检索附件uri)

返回值

Attachment表示获取的附件

例外

例外(健康)状况
AsposeArgumentExceptionattachmentUri为空或为空

也可以看看