16 instantiations of InternalMicrosoftProbeFailure
aspire (13)
Telemetry\InternalMicrosoftDetector.cs (13)
421return new(InternalMicrosoftProbeFailureCode.Exception, stage, ExceptionType: GetSafeExceptionType(exception)); 641return InternalMicrosoftProbeResult.Failed(new( 787=> InternalMicrosoftProbeResult.Failed(new(code, stage)); 949new InternalMicrosoftProbeFailure( 981new InternalMicrosoftProbeFailure( 1084new InternalMicrosoftProbeFailure( 1092new InternalMicrosoftProbeFailure( 1152new InternalMicrosoftProbeFailure( 1167new InternalMicrosoftProbeFailure( 1191? InternalMicrosoftProbeResult.Failed(new( 1323return InternalMicrosoftProbeResult.Failed(new( 1447return InternalMicrosoftProbeResult.Failed(new( 1455=> InternalMicrosoftProbeResult.Failed(new(InternalMicrosoftProbeFailureCode.JsonShape, stage));
Aspire.Cli.Tests (3)
Telemetry\AspireCliTelemetryTests.cs (1)
695Failure: new InternalMicrosoftProbeFailure(
Telemetry\InternalMicrosoftDetectorTests.cs (2)
425new InternalMicrosoftProbe("failed", _ => Task.FromResult(InternalMicrosoftProbeResult.Failed(new( 1027InternalMicrosoftProbeResult.Failed(new(
7 references to InternalMicrosoftProbeFailure
aspire (7)
Telemetry\InternalMicrosoftDetector.cs (7)
419private static InternalMicrosoftProbeFailure CreateExceptionFailure(Exception exception, string stage) 922InternalMicrosoftProbeFailure? failure = null; 1904private readonly record struct ProcessResult(int ExitCode, string Stdout, string Stderr, InternalMicrosoftProbeFailure? Failure = null); 1906private readonly record struct GitHubMembershipCheckResult(bool IsMember, InternalMicrosoftProbeFailure? Failure = null) 1920internal readonly record struct InternalMicrosoftProbeResult(bool IsInternalMicrosoft, string? Alias, string? Domain, InternalMicrosoftProbeFailure? Failure = null) 1924public static InternalMicrosoftProbeResult Failed(InternalMicrosoftProbeFailure failure) 1952internal sealed record InternalMicrosoftProbeDiagnostic(string Source, string Outcome, TimeSpan Duration, bool HasAlias, bool HasDomain, InternalMicrosoftProbeFailure? Failure = null);