BackgroundServiceExceptionBehavior Énumération

Définition

Spécifie un comportement que le IHost respectera si une exception non gérée se produit dans l’une de ses instances BackgroundService.

public enum class BackgroundServiceExceptionBehavior
public enum BackgroundServiceExceptionBehavior
type BackgroundServiceExceptionBehavior = 
Public Enum BackgroundServiceExceptionBehavior
Héritage
BackgroundServiceExceptionBehavior

Champs

Nom Valeur Description
StopHost 0

Arrête l’instance IHost .

Ignore 1

Ignorez les exceptions levées dans BackgroundService.

S’applique à