BackgroundServiceExceptionBehavior Enum
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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
Bidang
Ignore | 1 | Abaikan pengecualian yang dilemparkan di BackgroundService. |
StopHost | 0 | Menghentikan instans IHost . |
Berlaku untuk
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.