16 instantiations of InternalMicrosoftProbeFailure
aspire (13)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (13)
425return new(InternalMicrosoftProbeFailureCode.Exception, stage, ExceptionType: GetSafeExceptionType(exception)); 652return InternalMicrosoftProbeResult.Failed(new( 798=> InternalMicrosoftProbeResult.Failed(new(code, stage)); 960new InternalMicrosoftProbeFailure( 992new InternalMicrosoftProbeFailure( 1095new InternalMicrosoftProbeFailure( 1103new InternalMicrosoftProbeFailure( 1170new InternalMicrosoftProbeFailure( 1185new InternalMicrosoftProbeFailure( 1209? InternalMicrosoftProbeResult.Failed(new( 1341return InternalMicrosoftProbeResult.Failed(new( 1465return InternalMicrosoftProbeResult.Failed(new( 1473=> InternalMicrosoftProbeResult.Failed(new(InternalMicrosoftProbeFailureCode.JsonShape, stage));
Aspire.Cli.Tests (3)
Telemetry\AspireCliTelemetryTests.cs (1)
772Failure: new InternalMicrosoftProbeFailure(
Telemetry\InternalMicrosoftDetectorTests.cs (2)
424new InternalMicrosoftProbe("failed", _ => Task.FromResult(InternalMicrosoftProbeResult.Failed(new( 1077InternalMicrosoftProbeResult.Failed(new(
7 references to InternalMicrosoftProbeFailure
aspire (7)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (7)
423private static InternalMicrosoftProbeFailure CreateExceptionFailure(Exception exception, string stage) 933InternalMicrosoftProbeFailure? failure = null; 1922private readonly record struct ProcessResult(int ExitCode, string Stdout, string Stderr, InternalMicrosoftProbeFailure? Failure = null); 1924private readonly record struct GitHubMembershipCheckResult(bool IsMember, InternalMicrosoftProbeFailure? Failure = null) 1938internal readonly record struct InternalMicrosoftProbeResult(bool IsInternalMicrosoft, string? Alias, string? Domain, InternalMicrosoftProbeFailure? Failure = null) 1942public static InternalMicrosoftProbeResult Failed(InternalMicrosoftProbeFailure failure) 1970internal sealed record InternalMicrosoftProbeDiagnostic(string Source, string Outcome, TimeSpan Duration, bool HasAlias, bool HasDomain, InternalMicrosoftProbeFailure? Failure = null);