-api-id | -api-type |
---|---|
M:Windows.Web.Http.HttpMultipartFormDataContent.ReadAsBufferAsync |
winrt method |
Serialize the HttpMultipartFormDataContent to a buffer as an asynchronous operation.
The object representing the asynchronous operation.
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.