BackgroundServiceExceptionBehavior Enum

Definition

Anger ett beteende som IHost ska uppfyllas om ett ohanterat undantag inträffar i någon av dess BackgroundService instanser.

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

Fält

Name Värde Description
StopHost 0

Stoppar instansen IHost .

Ignore 1

Ignorera undantag som genereras i BackgroundService.

Gäller för