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
The options instance for chaining.