BackgroundServiceExceptionBehavior 列舉

定義

指定當其中一個BackgroundService實例發生未處理的例外狀況時,IHost將會接受的行為。

public enum class BackgroundServiceExceptionBehavior
public enum BackgroundServiceExceptionBehavior
type BackgroundServiceExceptionBehavior = 
Public Enum BackgroundServiceExceptionBehavior
繼承
BackgroundServiceExceptionBehavior

欄位

Ignore 1

忽略 BackgroundService 中擲回的例外狀況。

StopHost 0

停止 IHost 實例。

適用於