Share via


HttpMultipartContent.ReadAsStringAsync 메서드

정의

HttpMultipartContent문자열로 비동기 작업으로 직렬화합니다.

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에 기록된 후에 완료됩니다.

HttpMultipartContent 클래스를 사용하여 임의 길이일 수 있는 콘텐츠를 스트리밍할 수 있습니다. 이 메서드를 사용하려면 먼저 전체 콘텐츠를 메모리에 버퍼링해야 하므로 모든 HttpMultipartContent 가 메모리에 맞지 않으면 ReadAsStringAsync 메서드가 실패합니다.

적용 대상