共用方式為


IHttpContent.ReadAsBufferAsync 方法

定義

將 HTTP 內容序列化為非同步作業的緩衝區。

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

傳回

IAsyncOperationWithProgress<IBuffer,UInt64>

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

IAsyncOperationWithProgress<IBuffer,uint64_t>

表示非同步作業的 物件。

屬性

備註

這項作業不會封鎖。 傳回的 IAsyncOperationWithProgress (IBuffer 和未簽署的長) 會在所有內容都寫入緩衝區之後完成。

適用於

另請參閱