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

获取此活动的本地唯一 ID,以便与其他事件相关联。

Initiator

获取启动此请求的操作的类型。

ProcessId

获取进程 ID。

RequestedUri

获取所请求响应的 URI。

SourceLocations

获取源位置调用堆栈。

ThreadId

获取线程 ID。

Timestamps

获取连接事件的时间戳。

适用于