22.149. Class HealthCheckRecord.Publisher

Namespace: ArmoniK.Core.Common
Assembly: ArmoniK.Core.Common.dll

Publishes health check reports to a , recording the results for later retrieval by other components. Implements to integrate with ASP.NET Core health checks.

public class HealthCheckRecord.Publisher : IHealthCheckPublisher

22.149.1. Inheritance

objectHealthCheckRecord.Publisher

22.149.2. Implements

IHealthCheckPublisher

22.149.3. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

22.149.4. Constructors

22.149.4.1. Publisher(HealthCheckRecord)

Publishes health check reports to a , recording the results for later retrieval by other components. Implements to integrate with ASP.NET Core health checks.

public Publisher(HealthCheckRecord healthCheckRecord)

22.149.4.1.1. Parameters

healthCheckRecord HealthCheckRecord

22.149.5. Methods

22.149.5.1. PublishAsync(HealthReport, CancellationToken)

Publishes the provided report.

public Task PublishAsync(HealthReport report, CancellationToken cancellationToken)

22.149.5.1.1. Parameters

report HealthReport

The . The result of executing a set of health checks.

cancellationToken CancellationToken

The .

22.149.5.1.2. Returns

Task

A which will complete when publishing is complete.