HostOptions.ServicesStopConcurrently Proprietà

Definizione

Ottiene o imposta un valore che indica se arresterà IHost le istanze registrate di IHostedService contemporaneamente o in sequenza.

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

Valore della proprietà

true IHost se arresterà le istanze IHostedService registrate contemporaneamente; false se arresterà IHost le istanze registrate in sequenza. Il valore predefinito è false .

Si applica a