共用方式為


HttpDiagnosticProviderRequestResponseCompletedEventArgs 類別

定義

提供 RequestResponseCompleted 事件的資料。

public ref class HttpDiagnosticProviderRequestResponseCompletedEventArgs 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 HttpDiagnosticProviderRequestResponseCompletedEventArgs 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 HttpDiagnosticProviderRequestResponseCompletedEventArgs
Public NotInheritable Class HttpDiagnosticProviderRequestResponseCompletedEventArgs
繼承
Object Platform::Object IInspectable HttpDiagnosticProviderRequestResponseCompletedEventArgs
屬性

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.10240.0 引進)
API contract
Windows.Web.Http.Diagnostics.HttpDiagnosticsContract (已於 v1.0 引進)

備註

系統會產生這個類別,並將它當做引數傳遞給應用程式的 ResponseCompleted 事件處理常式。

屬性

ActivityId

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

Initiator

取得起始此要求的作業類型。

ProcessId

取得進程識別碼。

RequestedUri

取得所要求回應的 URI。

SourceLocations

取得來源位置呼叫堆疊。

ThreadId

取得執行緒 ID。

Timestamps

取得連接事件的時間戳記。

適用於