HttpDiagnosticSourceLocation Class

Definition

Contains the source location of the HTTP activity.

public ref class HttpDiagnosticSourceLocation 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 HttpDiagnosticSourceLocation 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 HttpDiagnosticSourceLocation
Public NotInheritable Class HttpDiagnosticSourceLocation
Inheritance
Object Platform::Object IInspectable HttpDiagnosticSourceLocation
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 is accessible through the HttpDiagnosticProviderRequestSentEventArgs.SourceLocations property.

The HttpDiagnosticProviderRequestSentEventArgs class is passed as an argument to the application's RequestSent event handler.

Properties

ColumnNumber

Gets the column number.

LineNumber

Gets the line number.

SourceUri

Gets the source URI.

Applies to