HttpStringContent.ReadAsStringAsync Method

Definition

Serialize the HttpStringContent to a String as an asynchronous operation.

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)

Returns

IAsyncOperationWithProgress<String,UInt64>

IAsyncOperationWithProgress<String,uint64_t>

The object that represents the asynchronous operation.

Implements

Attributes

Remarks

This operation will not block. The returned IAsyncOperationWithProgress(String, UInt64) object will complete after all of the content has been written to the String.

Applies to