次の方法で共有


HttpDiagnosticProviderResponseReceivedEventArgs クラス

定義

ResponseReceived イベントのデータを提供します。

public ref class HttpDiagnosticProviderResponseReceivedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Web.Http.Diagnostics.HttpDiagnosticsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class HttpDiagnosticProviderResponseReceivedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Web.Http.Diagnostics.HttpDiagnosticsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class HttpDiagnosticProviderResponseReceivedEventArgs
Public NotInheritable Class HttpDiagnosticProviderResponseReceivedEventArgs
継承
Object Platform::Object IInspectable HttpDiagnosticProviderResponseReceivedEventArgs
属性

Windows の要件

デバイス ファミリ
Windows Desktop Extension SDK (10.0.10240.0 で導入)
API contract
Windows.Web.Http.Diagnostics.HttpDiagnosticsContract (v1.0 で導入)

注釈

システムはこのクラスを生成し、それをアプリケーションの ResponseReceived イベント ハンドラーに引数として渡します。

プロパティ

ActivityId

他のイベントと関連付ける目的で、このアクティビティのローカルで一意の ID を取得します。

Message

ヘッダー、状態コード、データを含む HttpResponseMessage を取得します。

Timestamp

HttpResponseMessage が受信されたときのタイムスタンプを取得します。

適用対象