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