Share via


DeploymentAgentWorkerRequest.GetRequestHeader(String) Method

Definition

Gets a string that contains the specified header from the current request.

public:
 abstract System::String ^ GetRequestHeader(System::String ^ headerName);
public abstract string GetRequestHeader (string headerName);
abstract member GetRequestHeader : string -> string
Public MustOverride Function GetRequestHeader (headerName As String) As String

Parameters

headerName
String

The name of the header to read.

Returns

A string that contains the specified header from the current request.

Applies to