Share via


HostOptions.BackgroundServiceExceptionBehavior Özellik

Tanım

Örneklerinden herhangi biri işlenmeyen BackgroundService bir özel durum oluştururken izleyeceği davranışı IHost alır veya ayarlar.

public:
 property Microsoft::Extensions::Hosting::BackgroundServiceExceptionBehavior BackgroundServiceExceptionBehavior { Microsoft::Extensions::Hosting::BackgroundServiceExceptionBehavior get(); void set(Microsoft::Extensions::Hosting::BackgroundServiceExceptionBehavior value); };
public Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior BackgroundServiceExceptionBehavior { get; set; }
member this.BackgroundServiceExceptionBehavior : Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior with get, set
Public Property BackgroundServiceExceptionBehavior As BackgroundServiceExceptionBehavior

Özellik Değeri

Varsayılan değer: StopHost.

Şunlara uygulanır