Share via


IHttpContent.ReadAsBufferAsync Method

Definition

Serialize the HTTP content to a buffer as an asynchronous operation.

public:
 IAsyncOperationWithProgress<IBuffer ^, unsigned long long> ^ 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)

Returns

IAsyncOperationWithProgress<IBuffer,UInt64>

Windows.Foundation.IAsyncOperationWithProgress<Windows.Storage.Streams.IBuffer,unsigned long long>

IAsyncOperationWithProgress<IBuffer,uint64_t>

The object representing the asynchronous operation.

Attributes

Remarks

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

Applies to

See also