905 B
905 B
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
{
namespace Microsoft.Extensions.Diagnostics.HealthChecks {
public sealed class HealthCheckRegistration {
+ public HealthCheckRegistration(string name, IHealthCheck instance, HealthStatus? failureStatus, IEnumerable<string> tags, TimeSpan? timeout);
+ public HealthCheckRegistration(string name, Func<IServiceProvider, IHealthCheck> factory, HealthStatus? failureStatus, IEnumerable<string> tags, TimeSpan? timeout);
+ public TimeSpan Timeout { get; set; }
}
public struct HealthReportEntry {
+ public HealthReportEntry(HealthStatus status, string description, TimeSpan duration, Exception exception, IReadOnlyDictionary<string, object> data, IEnumerable<string> tags = null);
+ public IEnumerable<string> Tags { get; }
}
}
}