共用方式為


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

取得此活動的本機唯一識別碼,以便與其他事件相互關聯。

Message

取得 HttpResponseMessage ,包括標頭、狀態碼和資料。

Timestamp

取得收到 HttpResponseMessage 時的時間戳記。

適用於