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