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