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

30.152.1. Inheritance

objectHealthCheckRecord.Publisher

30.152.2. Implements

IHealthCheckPublisher

30.152.3. Inherited Members

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

30.152.4. Constructors

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

30.152.4.1.1. Parameters

healthCheckRecord HealthCheckRecord

30.152.5. Methods

30.152.5.1. PublishAsync(HealthReport, CancellationToken)

Publishes the provided report.

public Task PublishAsync(HealthReport report, CancellationToken cancellationToken)

30.152.5.1.1. Parameters

report HealthReport

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

cancellationToken CancellationToken

The .

30.152.5.1.2. Returns

Task

A which will complete when publishing is complete.