IHttpContent.WriteToStreamAsync(IOutputStream) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 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
要寫入的輸出資料流。
傳回
Windows.Foundation.IAsyncOperationWithProgress<unsigned long long,unsigned long long>
IAsyncOperationWithProgress<uint64_t,uint64_t>
物件,表示非同步作業。
- 屬性
備註
這項作業不會封鎖。 傳回的 IAsyncOperationWithProgress (UInt64, UInt64) 物件會在所有內容都寫入輸出資料流程之後完成。