HttpDiagnosticProviderResponseReceivedEventArgs HttpDiagnosticProviderResponseReceivedEventArgs HttpDiagnosticProviderResponseReceivedEventArgs HttpDiagnosticProviderResponseReceivedEventArgs Class

Definition

Provides data for the ResponseReceived event.

public : sealed class HttpDiagnosticProviderResponseReceivedEventArgs : IHttpDiagnosticProviderResponseReceivedEventArgspublic sealed class HttpDiagnosticProviderResponseReceivedEventArgs : IHttpDiagnosticProviderResponseReceivedEventArgsPublic NotInheritable Class HttpDiagnosticProviderResponseReceivedEventArgs Implements IHttpDiagnosticProviderResponseReceivedEventArgs// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Web.Http.Diagnostics.HttpDiagnosticsContract (introduced v1)

Remarks

The system generates this class and passes it as an argument to the application's ResponseReceived event handler.

Properties

ActivityId ActivityId ActivityId ActivityId

Gets a locally unique ID for this activity, for correlating with other events.

public : PlatForm::Guid ActivityId { get; }public Guid ActivityId { get; }Public ReadOnly Property ActivityId As Guid// You can use this property in JavaScript.
Value
PlatForm::Guid Guid Guid Guid

A locally unique ID for this activity.

Message Message Message Message

Gets the HttpResponseMessage including headers, the status code, and data.

public : HttpResponseMessage Message { get; }public HttpResponseMessage Message { get; }Public ReadOnly Property Message As HttpResponseMessage// You can use this property in JavaScript.

Timestamp Timestamp Timestamp Timestamp

Gets the timestamp of when the HttpResponseMessage was received.

public : DateTime Timestamp { get; }public DateTimeOffset Timestamp { get; }Public ReadOnly Property Timestamp As DateTimeOffset// You can use this property in JavaScript.
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The timestamp of when the HttpResponseMessage was received.