Поділитися через


HostOptions.StartupTimeout Property

Definition

The default timeout for StartAsync(CancellationToken).

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

Property Value

Remarks

This timeout also encompasses all host services implementing StartingAsync(CancellationToken) and StartedAsync(CancellationToken).

Applies to