Del via


HostOptions.StartupTimeout Property

Definition

Gets or sets 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