1 write to Exception
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (1)
HealthReportEntry.cs (1)
46Exception = exception;
11 references to Exception
Aspire.Azure.Messaging.WebPubSub.Tests (1)
AspireWebPubSubExtensionsTests.cs (1)
302Assert.NotNull(entry.Exception);
Aspire.Azure.Search.Documents.Tests (1)
AspireAzureSearchExtensionsTests.cs (1)
142Assert.NotNull(entry.Exception);
Aspire.Hosting (2)
Health\ResourceHealthCheckService.cs (2)
246|| !string.Equals(checkReportSnapshot.ExceptionText, value.Exception?.ToString(), StringComparisons.HealthReportPropertyValue)) 293var snapshot = new HealthReportSnapshot(key, entry.Status, entry.Description, entry.Exception?.ToString())
Aspire.Milvus.Client.Tests (1)
MilvusHealthCheckTests.cs (1)
50Assert.NotNull(entry.Exception);
Aspire.NATS.Net.Tests (1)
AspireNatsClientExtensionsTests.cs (1)
206Assert.NotNull(entry.Exception);
Aspire.Qdrant.Client.Tests (1)
QdrantHealthCheckTests.cs (1)
47Assert.NotNull(entry.Exception);
Microsoft.Extensions.Diagnostics.HealthChecks (2)
DefaultHealthCheckService.cs (2)
238HealthCheckEndDegraded(logger, registration.Name, entry.Status, duration.TotalMilliseconds, entry.Description, entry.Exception); 242HealthCheckEndUnhealthy(logger, registration.Name, entry.Status, duration.TotalMilliseconds, entry.Description, entry.Exception);
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (2)
HealthReportEntry.cs (2)
24/// <param name="exception">An <see cref="Exception"/> representing the exception that was thrown when checking for status (if any).</param> 38/// <param name="exception">An <see cref="Exception"/> representing the exception that was thrown when checking for status (if any).</param>