Jaa


IHttpContent.WriteToStreamAsync(IOutputStream) Method

Definition

Write the HTTP content to an output stream as an asynchronous operation.

public:
 IAsyncOperationWithProgress<unsigned long long, unsigned long long> ^ WriteToStreamAsync(IOutputStream ^ outputStream);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<uint64_t, uint64_t> WriteToStreamAsync(IOutputStream const& outputStream);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<ulong,ulong> WriteToStreamAsync(IOutputStream outputStream);
function writeToStreamAsync(outputStream)
Public Function WriteToStreamAsync (outputStream As IOutputStream) As IAsyncOperationWithProgress(Of ULong, ULong)

Parameters

outputStream
IOutputStream

The output stream to write to.

Returns

IAsyncOperationWithProgress<UInt64,UInt64>

Windows.Foundation.IAsyncOperationWithProgress<unsigned long long,unsigned long long>

IAsyncOperationWithProgress<uint64_t,uint64_t>

The object representing the asynchronous operation.

Attributes

Remarks

This operation will not block. The returned IAsyncOperationWithProgress(UInt64, UInt64) object will complete after all of the content has been written to the output stream.

Applies to