ProcessProbe constructor

A health probe that runs an external process and interprets its output.

public ProcessProbe(string name, string[] tags, string fileName, string args = "", 
    TimeSpan? timeout = default, ILogger? logger = null)
parameter description
name The name of the probe.
tags The tags associated with the probe.
fileName The file name of the process to run.
args The arguments to pass to the process.
timeout The timeout for the process to complete.
logger Optional logger; if null a contextual logger is created.

Remarks

Initializes a new instance of the ProcessProbe class.

See Also