次の方法で共有


DataServiceResponse.BatchHeaders プロパティ

バッチ要求と関連付けられている HTTP 応答からのヘッダー。

名前空間:  System.Data.Services.Client
アセンブリ:  Microsoft.Data.Services.Client (Microsoft.Data.Services.Client.dll)

構文

'宣言
Public ReadOnly Property BatchHeaders As IDictionary(Of String, String)
    Get
'使用
Dim instance As DataServiceResponse
Dim value As IDictionary(Of String, String)

value = instance.BatchHeaders
public IDictionary<string, string> BatchHeaders { get; }
public:
property IDictionary<String^, String^>^ BatchHeaders {
    IDictionary<String^, String^>^ get ();
}
member BatchHeaders : IDictionary<string, string>
function get BatchHeaders () : IDictionary<String, String>

プロパティ値

型: System.Collections.Generic.IDictionary<String, String>
HTTP 応答の名前と値のペアを含む IDictionary オブジェクト。

説明

バッチ処理を使用しない場合、保存操作全体を表すヘッダーのセットがないため、返される DataServiceResponse インスタンスの headers プロパティは空のコレクションになります。

関連項目

参照

DataServiceResponse クラス

System.Data.Services.Client 名前空間