Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.16 KB

httpmultipartformdatacontent_readasbufferasync_1151439480.md

File metadata and controls

25 lines (17 loc) · 1.16 KB
-api-id -api-type
M:Windows.Web.Http.HttpMultipartFormDataContent.ReadAsBufferAsync
winrt method

Windows.Web.Http.HttpMultipartFormDataContent.ReadAsBufferAsync

-description

Serialize the HttpMultipartFormDataContent to a buffer as an asynchronous operation.

-returns

The object representing the asynchronous operation.

-remarks

This operation will not block. The returned IAsyncOperationWithProgress (of IBuffer and unsigned 64-bit integer) completes after all of the content has been written to the buffer.

The HttpMultipartFormDataContent class can be used to stream content that might be of arbitrary length. The ReadAsBufferAsync method will fail if all of the HttpMultipartFormDataContent can't fit in memory since this method requires the entire content to be buffered in memory first.

-examples

-see-also