17 references to InternalMicrosoftProbeExceptionType
aspire (11)
Telemetry\InternalMicrosoftDetector.cs (11)
428
UnauthorizedAccessException =>
InternalMicrosoftProbeExceptionType
.UnauthorizedAccess,
429
IOException =>
InternalMicrosoftProbeExceptionType
.Io,
430
JsonException =>
InternalMicrosoftProbeExceptionType
.Json,
431
HttpRequestException =>
InternalMicrosoftProbeExceptionType
.HttpRequest,
432
TaskCanceledException =>
InternalMicrosoftProbeExceptionType
.TaskCanceled,
433
InvalidOperationException =>
InternalMicrosoftProbeExceptionType
.InvalidOperation,
434
_ =>
InternalMicrosoftProbeExceptionType
.Other
952
ExceptionType:
InternalMicrosoftProbeExceptionType
.TaskCanceled));
1095
ExceptionType: parseFailure ?
InternalMicrosoftProbeExceptionType
.Json : null));
1326
ExceptionType:
InternalMicrosoftProbeExceptionType
.Json));
1450
ExceptionType:
InternalMicrosoftProbeExceptionType
.Json));
Aspire.Cli.Tests (6)
Telemetry\AspireCliTelemetryTests.cs (2)
698
ExceptionType:
InternalMicrosoftProbeExceptionType
.Other,
710
Assert.Equal(
InternalMicrosoftProbeExceptionType
.Other, tags[TelemetryConstants.Tags.InternalMicrosoftProbeExceptionType]);
Telemetry\InternalMicrosoftDetectorTests.cs (4)
27
typeof(
InternalMicrosoftProbeExceptionType
)
347
Assert.Equal(
InternalMicrosoftProbeExceptionType
.Other, failure.Failure?.ExceptionType);
1512
Assert.Equal(
InternalMicrosoftProbeExceptionType
.Json, result.Failure?.ExceptionType);
1553
Assert.Equal(
InternalMicrosoftProbeExceptionType
.Json, result.Failure?.ExceptionType);