Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

BackgroundUploader.SetRequestHeader(String, String) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Used to set an HTTP request header.

public:
 virtual void SetRequestHeader(Platform::String ^ headerName, Platform::String ^ headerValue) = SetRequestHeader;
void SetRequestHeader(winrt::hstring const& headerName, winrt::hstring const& headerValue);
public void SetRequestHeader(string headerName, string headerValue);
function setRequestHeader(headerName, headerValue)
Public Sub SetRequestHeader (headerName As String, headerValue As String)

Parameters

headerName
String

Platform::String

winrt::hstring

The header name.

headerValue
String

Platform::String

winrt::hstring

The header value.

Implements

M:Windows.Networking.BackgroundTransfer.IBackgroundTransferBase.SetRequestHeader(System.String,System.String) M:Windows.Networking.BackgroundTransfer.IBackgroundTransferBase.SetRequestHeader(Platform::String,Platform::String) M:Windows.Networking.BackgroundTransfer.IBackgroundTransferBase.SetRequestHeader(winrt::hstring,winrt::hstring)

Applies to


Feedback

Was this page helpful?