DataServiceResponse.BatchHeaders 属性

定义

与批处理请求相关联的 HTTP 响应中的标头。The headers from an HTTP response associated with a batch request.

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ BatchHeaders { System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ get(); };
public System.Collections.Generic.IDictionary<string,string> BatchHeaders { get; }
member this.BatchHeaders : System.Collections.Generic.IDictionary<string, string>
Public ReadOnly Property BatchHeaders As IDictionary(Of String, String)

属性值

包含 HTTP 响应的名称值对的 IDictionary 对象。An IDictionary object containing the name-value pairs of an HTTP response.

注解

当因为没有一组表示整个保存操作的标头而未使用批处理时,所返回 DataServiceResponse 实例上的标头属性将为空集合。The headers property on the DataServiceResponse instance returned will be an empty collection when batching is not used because there is no set of headers that represents the entire save operation.

适用于