Language

IAttachments.GetAttachmentWithHttpMessagesAsync メソッド

定義

GetAttachment。

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.IO.Stream>> GetAttachmentWithHttpMessagesAsync(string attachmentId, string viewId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAttachmentWithHttpMessagesAsync : string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.IO.Stream>>
Public Function GetAttachmentWithHttpMessagesAsync (attachmentId As String, viewId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Stream))

パラメーター

attachmentId
String

添付ファイルID。

viewId
String

attachmentInfoからIDを表示。

customHeaders
Dictionary<String,List<String>>

リクエストに追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

返品

Task<Microsoft.Rest.HttpOperationResponse<Stream>>

実行するキューに登録された作業を表すタスク。

例外

操作が無効なステータスコードを返した際にスローされます。

Microsoft.Rest.SerializationException

応答をデシリアライズできないときに投げられます。

Microsoft.Rest.ValidationException

必要なパラメータがnullのときに投げられます。

注釈

名前付きビューをバイナリ コンテンツとして取得します。

適用対象