HealthCheckPublisherOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for the default service that executes IHealthCheckPublisher instances.
public ref class HealthCheckPublisherOptions sealed
public sealed class HealthCheckPublisherOptions
type HealthCheckPublisherOptions = class
Public NotInheritable Class HealthCheckPublisherOptions
- Inheritance
-
HealthCheckPublisherOptions
Constructors
HealthCheckPublisherOptions() |
Creates a new instance of HealthCheckPublisherOptions. |
Properties
Delay |
Gets or sets the initial delay applied after the application starts before executing IHealthCheckPublisher instances. The delay is applied once at startup, and does not apply to subsequent iterations. The default value is 5 seconds. |
Period |
Gets or sets the period of IHealthCheckPublisher execution. The default value is 30 seconds. |
Predicate |
Gets or sets a predicate that is used to filter the set of health checks executed. |
Timeout |
Gets or sets the timeout for executing the health checks an all IHealthCheckPublisher instances. Use InfiniteTimeSpan to execute with no timeout. The default value is 30 seconds. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |