Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.3 KB

httpbaseprotocolfilter_sendrequestasync_602331974.md

File metadata and controls

35 lines (24 loc) · 1.3 KB
-api-id -api-type
M:Windows.Web.Http.Filters.HttpBaseProtocolFilter.SendRequestAsync(Windows.Web.Http.HttpRequestMessage)
winrt method

Windows.Web.Http.Filters.HttpBaseProtocolFilter.SendRequestAsync

-description

Send an HTTP request using the HttpBaseProtocolFilter as an asynchronous operation.

-parameters

-param request

The HTTP request message to send.

-returns

The object representing the asynchronous operation.

-remarks

This operation will not block. The returned IAsyncOperationWithProgress (of HttpResponseMessage and HttpProgress) completes once the entire HTTP response message is received.

Below are exceptions that this function throws.

E_INVALIDARG

The request parameter was a null reference (Nothing in Visual Basic).

E_ILLEGAL_METHOD_CALL

The request message was already sent by the HttpBaseProtocolFilter instance.

-examples

-see-also