HttpMultipartFormDataContent.BufferAllAsync Method
Definition
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 into memory as an asynchronous operation.
public:
virtual IAsyncOperationWithProgress<unsigned long long, unsigned long long> ^ BufferAllAsync() = BufferAllAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<uint64_t, uint64_t> BufferAllAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<ulong,ulong> BufferAllAsync();
function bufferAllAsync()
Public Function BufferAllAsync () As IAsyncOperationWithProgress(Of ULong, ULong)
Returns
Windows.Foundation.IAsyncOperationWithProgress<unsigned long long,unsigned long long>
IAsyncOperationWithProgress<uint64_t,uint64_t>
The object that represents the asynchronous operation.
Implements
- Attributes
Remarks
This operation will not block. The returned IAsyncOperationWithProgress(UInt64, UInt64) object will complete after all of the content has been written into memory.
The HttpMultipartFormDataContent class can be used to stream content that might be of arbitrary length. The BufferAllAsync method will fail if all of the HttpMultipartFormDataContent can't fit in memory.