Share via


DataServiceClientRequestMessage.SetHeader Method

Sets the value of the header with the given name.

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

Syntax

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

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

Parameters

Implements

IODataRequestMessage.SetHeader(String, String)

See Also

Reference

DataServiceClientRequestMessage Class

System.Data.Services.Client Namespace