Dil

HostOptions.ServicesStopConcurrently Özellik

Tanım

öğesinin kayıtlı örneklerini IHostedService eşzamanlı olarak mı yoksa sırayla mı IHost durduracağını gösteren bir değer alır veya ayarlar.

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

Özellik Değeri

true IHost, kayıtlı örneklerini IHostedService eşzamanlı olarak durdurursa; false kayıtlı örnekleri sırayla durdurursaIHost. Varsayılan değerdir false .

Şunlara uygulanır