1 instantiation of NameResolutionTelemetry
System.Net.NameResolution (1)
System\Net\NameResolutionTelemetry.cs (1)
15
public static readonly NameResolutionTelemetry Log = new
NameResolutionTelemetry
();
18 references to NameResolutionTelemetry
System.Net.NameResolution (18)
System\Net\Dns.cs (14)
20
NameResolutionActivity activity =
NameResolutionTelemetry
.Log.BeforeResolution(string.Empty);
33
NameResolutionTelemetry
.Log.AfterResolution(string.Empty, activity, answer: name);
394
NameResolutionActivity activity = activityOrDefault ??
NameResolutionTelemetry
.Log.BeforeResolution(hostName);
422
NameResolutionTelemetry
.Log.AfterResolution(hostName, activity, answer: result);
444
NameResolutionActivity activity = activityOrDefault ??
NameResolutionTelemetry
.Log.BeforeResolution(address);
464
NameResolutionTelemetry
.Log.AfterResolution(address, activity, answer: name);
467
activity =
NameResolutionTelemetry
.Log.BeforeResolution(name);
494
NameResolutionTelemetry
.Log.AfterResolution(name, activity, answer: result);
554
if (
NameResolutionTelemetry
.AnyDiagnosticsEnabled())
617
NameResolutionActivity activity =
NameResolutionTelemetry
.Log.BeforeResolution(hostName, startingTimeStamp);
632
NameResolutionTelemetry
.Log.AfterResolution(hostName, activity, answer: result, exception: exception);
659
NameResolutionTelemetry
.Log.AfterResolution(hostNameOrAddress, activity, answer: null, exception: exception);
681
NameResolutionActivity activity =
NameResolutionTelemetry
.Log.BeforeResolution(key);
729
NameResolutionTelemetry
.Log.AfterResolution(key!, activity, new OperationCanceledException());
System\Net\NameResolutionMetrics.cs (1)
39
string errorType =
NameResolutionTelemetry
.GetErrorType(exception);
System\Net\NameResolutionTelemetry.cs (3)
15
public static readonly
NameResolutionTelemetry
Log = new NameResolutionTelemetry();
175
string host =
NameResolutionTelemetry
.GetHostnameFromStateObject(hostNameOrAddress);
209
string errorType =
NameResolutionTelemetry
.GetErrorType(exception);