BackgroundServiceExceptionBehavior Enum
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Spécifie un comportement que le IHost respectera si une exception non prise en charge se produit dans l’une de ses BackgroundService instances.
public enum class BackgroundServiceExceptionBehavior
public enum BackgroundServiceExceptionBehavior
type BackgroundServiceExceptionBehavior =
Public Enum BackgroundServiceExceptionBehavior
- Héritage
Champs
| Nom | Valeur | Description |
|---|---|---|
| Ignore | 1 | Ignorez les exceptions levées dans BackgroundService. |
| StopHost | 0 | Arrête le IHost instance. |