BackgroundServiceExceptionBehavior Enum

Definisi

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

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

Bidang

Nama Nilai Deskripsi
StopHost 0

Menghentikan instans IHost .

Ignore 1

Abaikan pengecualian yang dilemparkan dalam BackgroundService.

Berlaku untuk