Delen via


IWebViewControl.NavigateWithHttpRequestMessage(HttpRequestMessage) Method

Definition

Navigates the IWebViewControl to a URI with a POST request and HTTP headers.

public:
 void NavigateWithHttpRequestMessage(HttpRequestMessage ^ requestMessage);
void NavigateWithHttpRequestMessage(HttpRequestMessage const& requestMessage);
public void NavigateWithHttpRequestMessage(HttpRequestMessage requestMessage);
function navigateWithHttpRequestMessage(requestMessage)
Public Sub NavigateWithHttpRequestMessage (requestMessage As HttpRequestMessage)

Parameters

requestMessage
HttpRequestMessage

The details of the HTTP request.

Remarks

This method supports only HttpMethod.Post and HttpMethod.Get for the HttpRequestMessage.Method property value.

Warning

If you add additional headers to this request, such as authentication credentials, remember that those headers will also be included with any subsequent child requests. Use caution to prevent accidental disclosure of confidential or personal information.

Applies to