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

23.147.1. Inheritance

objectHealthCheckRecord.Publisher

23.147.2. Implements

IHealthCheckPublisher

23.147.3. Inherited Members

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

23.147.4. Constructors

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

23.147.4.1.1. Parameters

healthCheckRecord HealthCheckRecord

23.147.5. Methods

23.147.5.1. PublishAsync(HealthReport, CancellationToken)

Publishes the provided report.

public Task PublishAsync(HealthReport report, CancellationToken cancellationToken)

23.147.5.1.1. Parameters

report HealthReport

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

cancellationToken CancellationToken

The .

23.147.5.1.2. Returns

Task

A which will complete when publishing is complete.