Compartir a través de


BackgroundUploader.SetRequestHeader(String, String) Método

Definición

Se usa para establecer un encabezado de solicitud 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

Nombre del encabezado.

headerValue
String

Platform::String

winrt::hstring

Valor del encabezado.

Implementaciones

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)

Se aplica a