HttpDiagnosticProviderRequestSentEventArgs
HttpDiagnosticProviderRequestSentEventArgs
HttpDiagnosticProviderRequestSentEventArgs
HttpDiagnosticProviderRequestSentEventArgs
Class
Definition
Provides data for the RequestSent event.
public : sealed class HttpDiagnosticProviderRequestSentEventArgs : IHttpDiagnosticProviderRequestSentEventArgspublic sealed class HttpDiagnosticProviderRequestSentEventArgs : IHttpDiagnosticProviderRequestSentEventArgsPublic NotInheritable Class HttpDiagnosticProviderRequestSentEventArgs Implements IHttpDiagnosticProviderRequestSentEventArgs// 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 RequestSent 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.
Initiator Initiator Initiator Initiator
Gets the type of operation initiating this request.
public : HttpDiagnosticRequestInitiator Initiator { get; }public HttpDiagnosticRequestInitiator Initiator { get; }Public ReadOnly Property Initiator As HttpDiagnosticRequestInitiator// You can use this property in JavaScript.
- Value
- HttpDiagnosticRequestInitiator HttpDiagnosticRequestInitiator HttpDiagnosticRequestInitiator HttpDiagnosticRequestInitiator
The initiator type.
Remarks
This is optionally set and is empty if not available.
Message Message Message Message
Gets the HttpRequestMessage including headers.
public : HttpRequestMessage Message { get; }public HttpRequestMessage Message { get; }Public ReadOnly Property Message As HttpRequestMessage// You can use this property in JavaScript.
The HttpRequestMessage including headers.
ProcessId ProcessId ProcessId ProcessId
Gets the process ID.
public : unsigned int ProcessId { get; }public uint ProcessId { get; }Public ReadOnly Property ProcessId As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The process ID.
SourceLocations SourceLocations SourceLocations SourceLocations
Gets the source location call stack.
public : IVectorView<HttpDiagnosticSourceLocation> SourceLocations { get; }public IReadOnlyList<HttpDiagnosticSourceLocation> SourceLocations { get; }Public ReadOnly Property SourceLocations As IReadOnlyList<HttpDiagnosticSourceLocation>// You can use this property in JavaScript.
- Value
- IVectorView<HttpDiagnosticSourceLocation> IReadOnlyList<HttpDiagnosticSourceLocation> IReadOnlyList<HttpDiagnosticSourceLocation> IReadOnlyList<HttpDiagnosticSourceLocation>
The source location call stack.
ThreadId ThreadId ThreadId ThreadId
Gets the thread ID.
public : unsigned int ThreadId { get; }public uint ThreadId { get; }Public ReadOnly Property ThreadId As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The thread ID.
Timestamp Timestamp Timestamp Timestamp
Gets the timestamp of when the HttpRequestMessage was sent.
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 HttpRequestMessage was sent.