21.157. 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

21.157.1. Inheritance

objectHealthCheckRecord.Publisher

21.157.2. Implements

IHealthCheckPublisher

21.157.3. Inherited Members

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

21.157.4. Constructors

21.157.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)

21.157.4.1.1. Parameters

healthCheckRecord HealthCheckRecord

21.157.5. Methods

21.157.5.1. PublishAsync(HealthReport, CancellationToken)

Publishes the provided report.

public Task PublishAsync(HealthReport report, CancellationToken cancellationToken)

21.157.5.1.1. Parameters

report HealthReport

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

cancellationToken CancellationToken

The .

21.157.5.1.2. Returns

Task

A which will complete when publishing is complete.