Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HealthCheckPublisherOptions.Timeout Property

Definition

Namespace:
Microsoft.Extensions.Diagnostics.HealthChecks
Assembly:
Microsoft.Extensions.Diagnostics.HealthChecks.dll
Package:
Microsoft.Extensions.Diagnostics.HealthChecks v11.0.0-preview.5.26302.115
Source:
HealthCheckPublisherOptions.cs
Source:
HealthCheckPublisherOptions.cs
Source:
HealthCheckPublisherOptions.cs
Source:
HealthCheckPublisherOptions.cs
Source:
HealthCheckPublisherOptions.cs

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.

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.

public:
 property TimeSpan Timeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan Timeout { get; set; }
member this.Timeout : TimeSpan with get, set
Public Property Timeout As TimeSpan

Property Value

Applies to


Feedback

Was this page helpful?