Compartilhar via


HostOptions.ServicesStartConcurrently Property

Definition

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

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

Property Value

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

Applies to