Skip to content

Class DeviceConnectivityHealthCheck

Namespace: Belay.Extensions.HealthChecks
Assembly: Belay.Extensions.dll

Health check for device connectivity.

csharp
public class DeviceConnectivityHealthCheck : IHealthCheck

Inheritance

objectDeviceConnectivityHealthCheck

Implements

IHealthCheck

Inherited Members

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

Constructors

DeviceConnectivityHealthCheck(IDeviceFactory, ILogger<DeviceConnectivityHealthCheck>, string)

Initializes a new instance of the class.

Methods

CheckHealthAsync(HealthCheckContext, CancellationToken)

Runs the health check, returning the status of the component being checked.

Released under the Apache License 2.0.