HttpGetBufferResult 클래스

정의

최종 버퍼 결과를 원래 HTTP 요청, 결과 HTTP 응답(있는 경우), 확장된 오류 값 및 성공 표시와 함께 결합합니다.

public ref class HttpGetBufferResult sealed : IClosable, IStringable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HttpGetBufferResult final : IClosable, IStringable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HttpGetBufferResult : System.IDisposable, IStringable
Public NotInheritable Class HttpGetBufferResult
Implements IDisposable, IStringable
상속
Object Platform::Object IInspectable HttpGetBufferResult
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10, version 1903 (10.0.18362.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v8.0에서 도입되었습니다.)

설명

HttpGetBufferResult는 HttpClientTryGetBufferAsync 호출의 반환 결과입니다.

속성

ExtendedError

HTTP 요청에 대한 확장 오류 코드입니다.

RequestMessage

HttpGetBufferResult로 이어진 요청 메시지를 가져옵니다.

ResponseMessage

헤더, 상태 코드 및 데이터를 포함한 HTTP 응답 메시지를 가져옵니다.

Succeeded

HTTP 요청이 성공했는지 여부를 가져옵니다.

Value

HTTP 요청에서 IBuffer로 반환된 데이터입니다.

메서드

Close()

HttpGetBufferResult instance 닫고 할당된 리소스를 해제합니다.

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

ToString()

현재 HttpGetBufferResult 개체를 나타내는 문자열을 반환합니다.

적용 대상

추가 정보