BackgroundServiceExceptionBehavior Enum

Definisi

Menentukan perilaku yang IHost akan dihormati jika pengecualian yang tidak tertangani terjadi di salah satu instansnya BackgroundService .

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

Bidang

Ignore 1

Abaikan pengecualian yang dilemparkan di BackgroundService.

StopHost 0

Menghentikan instans IHost .

Berlaku untuk