DataServiceOperationContext.ResponseHeaders 属性

获取当前操作的响应标头。

命名空间:  System.Data.Services
程序集:  Microsoft.Data.Services(在 Microsoft.Data.Services.dll 中)

语法

声明
Public ReadOnly Property ResponseHeaders As WebHeaderCollection
    Get
用法
Dim instance As DataServiceOperationContext
Dim value As WebHeaderCollection

value = instance.ResponseHeaders
public WebHeaderCollection ResponseHeaders { get; }
public:
property WebHeaderCollection^ ResponseHeaders {
    WebHeaderCollection^ get ();
}
member ResponseHeaders : WebHeaderCollection
function get ResponseHeaders () : WebHeaderCollection

属性值

类型:System.Net.WebHeaderCollection
包含响应标头的 WebHeaderCollection 对象。

请参阅

参考

DataServiceOperationContext 类

System.Data.Services 命名空间