Share via


HostAbortedException Oluşturucular

Tanım

Aşırı Yüklemeler

HostAbortedException()

Sistem tarafından sağlanan bir hata iletisiyle sınıfının yeni bir örneğini HostAbortedException başlatır.

HostAbortedException(String)

Belirtilen hata iletisiyle sınıfının yeni bir örneğini HostAbortedException başlatır.

HostAbortedException(String, Exception)

Belirtilen bir hata iletisi ve bu özel durumun nedeni olan iç özel duruma başvuru ile sınıfının yeni bir örneğini HostAbortedException başlatır.

HostAbortedException()

Kaynak:
HostAbortedException.cs
Kaynak:
HostAbortedException.cs
Kaynak:
HostAbortedException.cs
Kaynak:
HostAbortedException.cs

Sistem tarafından sağlanan bir hata iletisiyle sınıfının yeni bir örneğini HostAbortedException başlatır.

public:
 HostAbortedException();
public HostAbortedException ();
Public Sub New ()

Şunlara uygulanır

HostAbortedException(String)

Kaynak:
HostAbortedException.cs
Kaynak:
HostAbortedException.cs
Kaynak:
HostAbortedException.cs
Kaynak:
HostAbortedException.cs

Belirtilen hata iletisiyle sınıfının yeni bir örneğini HostAbortedException başlatır.

public:
 HostAbortedException(System::String ^ message);
public HostAbortedException (string? message);
new Microsoft.Extensions.Hosting.HostAbortedException : string -> Microsoft.Extensions.Hosting.HostAbortedException
Public Sub New (message As String)

Parametreler

message
String

Özel durumun nedenini açıklayan hata iletisi.

Açıklamalar

içeriğinin message insanlar tarafından anlaşılması amaçlanmıştır. Bu yapıcının çağırıcısı, bu dizenin geçerli sistem kültürü için yerelleştirilmiş olduğundan emin olmak için gereklidir.

Şunlara uygulanır

HostAbortedException(String, Exception)

Kaynak:
HostAbortedException.cs
Kaynak:
HostAbortedException.cs
Kaynak:
HostAbortedException.cs
Kaynak:
HostAbortedException.cs

Belirtilen bir hata iletisi ve bu özel durumun nedeni olan iç özel duruma başvuru ile sınıfının yeni bir örneğini HostAbortedException başlatır.

public:
 HostAbortedException(System::String ^ message, Exception ^ innerException);
public HostAbortedException (string? message, Exception? innerException);
new Microsoft.Extensions.Hosting.HostAbortedException : string * Exception -> Microsoft.Extensions.Hosting.HostAbortedException
Public Sub New (message As String, innerException As Exception)

Parametreler

message
String

Özel durumun nedenini açıklayan hata iletisi.

innerException
Exception

Geçerli özel durumun nedeni olan özel durum.

Açıklamalar

içeriğinin message insanlar tarafından anlaşılması amaçlanmıştır. Bu yapıcının çağırıcısı, bu dizenin geçerli sistem kültürü için yerelleştirilmiş olduğundan emin olmak için gereklidir.

Şunlara uygulanır