Skip to content

Method AddDeviceCheck ​

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

AddDeviceCheck(string, string, int) ​

Adds a device connectivity health check.

csharp
public BelayHealthCheckOptions AddDeviceCheck(string name, string portOrPath, int timeoutSeconds = 10)

Parameters ​

name string

The name of the health check.

portOrPath string

The port name or executable path to test.

timeoutSeconds int

The timeout in seconds (default 10).

Returns ​

BelayHealthCheckOptions

The options instance for chaining.

Released under the Apache License 2.0.