HostOptions.ShutdownTimeout Eigenschaft

Definition

Ruft das Standardtimeout für ab oder legt dieses fest StopAsync(CancellationToken).

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

Eigenschaftswert

Hinweise

Dieses Timeout umfasst auch alle Hostdienste, die und StoppedAsync(CancellationToken)implementierenStoppingAsync(CancellationToken).

Gilt für: