Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpStreamContent.WriteToStreamAsync | writeToStreamAsync method

Applies to Windows and Windows Phone

Write the HttpStreamContent to an output stream as an asynchronous operation.

Syntax


httpStreamContent.writeToStreamAsync(outputStream).done( /* Your success and error handlers */ );

Parameters

outputStream

Type: IOutputStream

The output stream to write to.

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 to the output stream.

Requirements

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

HttpStreamContent

 

 

Show:
© 2014 Microsoft