ODataBatchOperationResponseMessage.SetHeader Method

Sets the value of an HTTP header of this operation.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Sub SetHeader ( _
    headerName As String, _
    headerValue As String _
)
'Usage
Dim instance As ODataBatchOperationResponseMessage 
Dim headerName As String 
Dim headerValue As String

instance.SetHeader(headerName, headerValue)
public void SetHeader(
    string headerName,
    string headerValue
)
public:
virtual void SetHeader(
    String^ headerName, 
    String^ headerValue
) sealed
abstract SetHeader : 
        headerName:string * 
        headerValue:string -> unit  
override SetHeader : 
        headerName:string * 
        headerValue:string -> unit
public final function SetHeader(
    headerName : String, 
    headerValue : String
)

Parameters

  • headerValue
    Type: System.String
    The value of the HTTP header or nulla null reference (Nothing in Visual Basic) if the header should be removed.

Implements

IODataResponseMessage.SetHeader(String, String)

See Also

Reference

ODataBatchOperationResponseMessage Class

Microsoft.Data.OData Namespace