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 インスタンスを閉じ、割り当てられたリソースを解放します。

Dispose()

アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

ToString()

現在の HttpGetBufferResult オブジェクトを表す文字列を返します。

適用対象

こちらもご覧ください