BackgroundServiceExceptionBehavior Sabit listesi

Tanım

IHost örneklerinden birinde işlenmeyen bir özel durum oluşursa BackgroundService karşılanacağı davranışı belirtir.

public enum class BackgroundServiceExceptionBehavior
public enum BackgroundServiceExceptionBehavior
type BackgroundServiceExceptionBehavior = 
Public Enum BackgroundServiceExceptionBehavior
Devralma
BackgroundServiceExceptionBehavior

Alanlar

Name Değer Description
StopHost 0

IHost Örneği durdurur.

Ignore 1

BackgroundService içinde oluşan özel durumları yoksay.

Şunlara uygulanır