共用方式為


IHttpContent.ReadAsInputStreamAsync 方法

定義

序列化 HTTP 內容,並傳回輸入資料流程,代表內容做為非同步作業。

public:
 IAsyncOperationWithProgress<IInputStream ^, unsigned long long> ^ ReadAsInputStreamAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<IInputStream, uint64_t> ReadAsInputStreamAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<IInputStream,ulong> ReadAsInputStreamAsync();
function readAsInputStreamAsync()
Public Function ReadAsInputStreamAsync () As IAsyncOperationWithProgress(Of IInputStream, ULong)

傳回

IAsyncOperationWithProgress<IInputStream,UInt64>

Windows.Foundation.IAsyncOperationWithProgress<Windows.Storage.Streams.IInputStream,unsigned long long>

IAsyncOperationWithProgress<IInputStream,uint64_t>

表示非同步作業的 物件。

屬性

備註

這項作業不會封鎖。 傳回的 IAsyncOperationWithProgress (IInputStream 和未帶正負號的 64 位整數) 會在所有內容都寫入輸入資料流程之後完成。

適用於