共用方式為


HttpBufferContent.ReadAsStringAsync 方法

定義

HttpBufferContent 序列化為 字串 作為非同步作業。

public:
 virtual IAsyncOperationWithProgress<Platform::String ^, unsigned long long> ^ ReadAsStringAsync() = ReadAsStringAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<winrt::hstring, uint64_t> ReadAsStringAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<string,ulong> ReadAsStringAsync();
function readAsStringAsync()
Public Function ReadAsStringAsync () As IAsyncOperationWithProgress(Of String, ULong)

傳回

IAsyncOperationWithProgress<String,UInt64>

Windows.Foundation.IAsyncOperationWithProgress<Platform::String,unsigned long long>

IAsyncOperationWithProgress<winrt::hstring,uint64_t>

表示非同步作業的 物件。

實作

屬性

備註

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

適用於