17 references to InternalMicrosoftProbeExceptionType
aspire (11)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (11)
432
UnauthorizedAccessException =>
InternalMicrosoftProbeExceptionType
.UnauthorizedAccess,
433
IOException =>
InternalMicrosoftProbeExceptionType
.Io,
434
JsonException =>
InternalMicrosoftProbeExceptionType
.Json,
435
HttpRequestException =>
InternalMicrosoftProbeExceptionType
.HttpRequest,
436
TaskCanceledException =>
InternalMicrosoftProbeExceptionType
.TaskCanceled,
437
InvalidOperationException =>
InternalMicrosoftProbeExceptionType
.InvalidOperation,
438
_ =>
InternalMicrosoftProbeExceptionType
.Other
963
ExceptionType:
InternalMicrosoftProbeExceptionType
.TaskCanceled));
1106
ExceptionType: parseFailure ?
InternalMicrosoftProbeExceptionType
.Json : null));
1344
ExceptionType:
InternalMicrosoftProbeExceptionType
.Json));
1468
ExceptionType:
InternalMicrosoftProbeExceptionType
.Json));
Aspire.Cli.Tests (6)
Telemetry\AspireCliTelemetryTests.cs (2)
775
ExceptionType:
InternalMicrosoftProbeExceptionType
.Other,
787
Assert.Equal(
InternalMicrosoftProbeExceptionType
.Other, tags[TelemetryConstants.Tags.InternalMicrosoftProbeExceptionType]);
Telemetry\InternalMicrosoftDetectorTests.cs (4)
26
typeof(
InternalMicrosoftProbeExceptionType
)
346
Assert.Equal(
InternalMicrosoftProbeExceptionType
.Other, failure.Failure?.ExceptionType);
1566
Assert.Equal(
InternalMicrosoftProbeExceptionType
.Json, result.Failure?.ExceptionType);
1607
Assert.Equal(
InternalMicrosoftProbeExceptionType
.Json, result.Failure?.ExceptionType);