共用方式為


IHttpContent.WriteToStreamAsync(IOutputStream) 方法

定義

將 HTTP 內容寫入輸出資料流程做為非同步作業。

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)

參數

outputStream
IOutputStream

要寫入的輸出資料流。

傳回

IAsyncOperationWithProgress<UInt64,UInt64>

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

IAsyncOperationWithProgress<uint64_t,uint64_t>

物件,表示非同步作業。

屬性

備註

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

適用於