BackgroundServiceExceptionBehavior Enumerazione

Definizione

Specifica un comportamento che verrà IHost rispettato se si verifica un'eccezione non gestita in una delle relative BackgroundService istanze.

public enum class BackgroundServiceExceptionBehavior
public enum BackgroundServiceExceptionBehavior
type BackgroundServiceExceptionBehavior = 
Public Enum BackgroundServiceExceptionBehavior
Ereditarietà
BackgroundServiceExceptionBehavior

Campi

Ignore 1

Ignorare le eccezioni generate in BackgroundService.

StopHost 0

Arresta l'istanza IHost .

Si applica a