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