共用方式為


HttpStreamContent.WriteToStreamAsync(IOutputStream) 方法

定義

HttpStreamContent 寫入輸出資料流程作為非同步作業。

public:
 virtual IAsyncOperationWithProgress<unsigned long long, unsigned long long> ^ WriteToStreamAsync(IOutputStream ^ outputStream) = WriteToStreamAsync;
/// [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)

參數

outputStream
IOutputStream

要寫入的輸出資料流。

傳回

IAsyncOperationWithProgress<UInt64,UInt64>

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

IAsyncOperationWithProgress<uint64_t,uint64_t>

表示非同步作業的 物件。

實作

屬性

備註

這項作業不會封鎖。 傳回的 IAsyncOperationWithProgress (UInt64、UInt64) 物件會在所有內容都寫入輸出資料流程之後完成。

適用於