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