Share via


HttpDiagnosticProviderResponseReceivedEventArgs Class

Definition

Provides data for the ResponseReceived event.

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
Inheritance
Object Platform::Object IInspectable HttpDiagnosticProviderResponseReceivedEventArgs
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Web.Http.Diagnostics.HttpDiagnosticsContract (introduced in v1.0)

Remarks

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

Properties

ActivityId

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

Message

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

Timestamp

Gets the timestamp of when the HttpResponseMessage was received.

Applies to