Share via


ODataAsynchronousResponseMessage.SetHeader(String, String) Method

Definition

Sets the value of an HTTP header of this operation.

public void SetHeader (string headerName, string headerValue);
abstract member SetHeader : string * string -> unit
override this.SetHeader : string * string -> unit
Public Sub SetHeader (headerName As String, headerValue As String)

Parameters

headerName
String

The name of the header to set.

headerValue
String

The value of the HTTP header or null if the header should be removed.

Implements

Applies to