Skip to main content
HttpMultipartFormDataContent.BufferAllAsync | bufferAllAsync method

Serialize the HttpMultipartFormDataContent into memory as an asynchronous operation.

Syntax


httpMultipartFormDataContent.bufferAllAsync().done( /* Your success and error handlers */ );

public IAsyncOperationWithProgress<UInt64, UInt64> BufferAllAsync()

Public Function BufferAllAsync() As IAsyncOperationWithProgress(Of UInt64, UInt64)

public:
IAsyncOperationWithProgress<UInt64, UInt64>^ BufferAllAsync()

Parameters

This method has no parameters.

Return value

Type: IAsyncOperationWithProgress<UInt64, UInt64>

The object that represents the asynchronous operation.

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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Web.Http
Windows::Web::Http [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http
Windows::Web::Http [C++]

Metadata

Windows.winmd

See also

HttpMultipartFormDataContent