BackgroundServiceExceptionBehavior Énumération
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 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
Champs
| Nom | Valeur | Description |
|---|---|---|
| StopHost | 0 | Arrête l’instance IHost . |
| Ignore | 1 | Ignorez les exceptions levées dans BackgroundService. |