DataServiceOperationContext.ResponseHeaders Property

Gets the response headers for the current operation.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public ReadOnly Property ResponseHeaders As WebHeaderCollection 
    Get
'Usage
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

Property Value

Type: System.Net.WebHeaderCollection
A WebHeaderCollection object that contains the response headers.

See Also

Reference

DataServiceOperationContext Class

System.Data.Services Namespace