Compartilhar via


HostOptions.ServicesStopConcurrently Property

Definition

Gets or sets a value that indicates if the IHost will stop registered instances of IHostedService concurrently or sequentially.

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

Property Value

true if the IHost will stop registered instances of IHostedService concurrently; false if the IHost will stop registered instances sequentially. The default is false .

Applies to