HostOptions.ServicesStopConcurrently Propriedade

Definição

Recebe ou define um valor que indica se irá IHost parar as instâncias registadas de IHostedService simultaneamente ou sequencialmente.

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

Valor de Propriedade

true se o IHost parar as instâncias registadas de IHostedService simultaneamente; false se o IHost parar as instâncias registadas sequencialmente. O padrão é false .

Aplica-se a