HttpMultipartFormDataContent.ReadAsBufferAsync Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serialize the HttpMultipartFormDataContent to a buffer as an asynchronous operation.
public:
virtual IAsyncOperationWithProgress<IBuffer ^, unsigned long long> ^ ReadAsBufferAsync() = ReadAsBufferAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<IBuffer, uint64_t> ReadAsBufferAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<IBuffer,ulong> ReadAsBufferAsync();
function readAsBufferAsync()
Public Function ReadAsBufferAsync () As IAsyncOperationWithProgress(Of IBuffer, ULong)
Windows.Foundation.IAsyncOperationWithProgress<Windows.Storage.Streams.IBuffer,unsigned long long>
IAsyncOperationWithProgress<IBuffer,uint64_t>
The object representing the asynchronous operation.
- Attributes
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.
Product | Versions |
---|---|
WinRT | Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |