Compartilhar via


BackgroundUploader.SetRequestHeader(String, String) Método

Definição

Usado para definir um cabeçalho de solicitação HTTP.

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)

Parâmetros

headerName
String

Platform::String

winrt::hstring

O nome do cabeçalho.

headerValue
String

Platform::String

winrt::hstring

O valor do cabeçalho.

Implementações

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)

Aplica-se a