Share via


HttpDiagnosticProviderRequestSentEventArgs Class

Definition

Provides data for the RequestSent event.

public ref class HttpDiagnosticProviderRequestSentEventArgs 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 HttpDiagnosticProviderRequestSentEventArgs 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 HttpDiagnosticProviderRequestSentEventArgs
Public NotInheritable Class HttpDiagnosticProviderRequestSentEventArgs
Inheritance
Object Platform::Object IInspectable HttpDiagnosticProviderRequestSentEventArgs
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 RequestSent event handler.

Properties

ActivityId

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

Initiator

Gets the type of operation initiating this request.

Message

Gets the HttpRequestMessage including headers.

ProcessId

Gets the process ID.

SourceLocations

Gets the source location call stack.

ThreadId

Gets the thread ID.

Timestamp

Gets the timestamp of when the HttpRequestMessage was sent.

Applies to