EntryPointNotFoundException Oluşturucular

Tanım

EntryPointNotFoundException sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

EntryPointNotFoundException()

EntryPointNotFoundException sınıfının yeni bir örneğini başlatır.

EntryPointNotFoundException(String)

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

EntryPointNotFoundException(SerializationInfo, StreamingContext)
Geçersiz.

EntryPointNotFoundException sınıfının yeni bir örneğini serileştirilmiş verilerle başlatır.

EntryPointNotFoundException(String, Exception)

Sınıfın EntryPointNotFoundException yeni bir örneğini belirtilen bir hata iletisiyle ve bu özel durumun nedeni olan iç özel duruma başvuruyla başlatır.

EntryPointNotFoundException()

Kaynak:
EntryPointNotFoundException.cs
Kaynak:
EntryPointNotFoundException.cs
Kaynak:
EntryPointNotFoundException.cs

EntryPointNotFoundException sınıfının yeni bir örneğini başlatır.

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

Açıklamalar

Bu oluşturucu, yeni örneğin özelliğini sistem tarafından sağlanan ve "Giriş noktası bulunamadı" gibi hatayı açıklayan bir iletiyle başlatır Message . Bu ileti geçerli sistem kültürünü hesaba katıyor.

Aşağıdaki tablo, EntryPointNotFoundException öğesinin bir örneği için başlangıç özellik değerlerini gösterir.

Özellik Değer
InnerException Null başvuru (Nothing Visual Basic'te).
Message Yerelleştirilmiş hata ileti dizesi.

Şunlara uygulanır

EntryPointNotFoundException(String)

Kaynak:
EntryPointNotFoundException.cs
Kaynak:
EntryPointNotFoundException.cs
Kaynak:
EntryPointNotFoundException.cs

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

public:
 EntryPointNotFoundException(System::String ^ message);
public EntryPointNotFoundException (string? message);
public EntryPointNotFoundException (string message);
new EntryPointNotFoundException : string -> EntryPointNotFoundException
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.

Aşağıdaki tablo, EntryPointNotFoundException öğesinin bir örneği için başlangıç özellik değerlerini gösterir.

Özellik Değer
InnerException Null başvuru (Nothing Visual Basic'te).
Message Hata iletisi dizesi.

Şunlara uygulanır

EntryPointNotFoundException(SerializationInfo, StreamingContext)

Kaynak:
EntryPointNotFoundException.cs
Kaynak:
EntryPointNotFoundException.cs
Kaynak:
EntryPointNotFoundException.cs

Dikkat

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

EntryPointNotFoundException sınıfının yeni bir örneğini serileştirilmiş verilerle başlatır.

protected:
 EntryPointNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected EntryPointNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected EntryPointNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new EntryPointNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> EntryPointNotFoundException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new EntryPointNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> EntryPointNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametreler

info
SerializationInfo

Serileştirilmiş nesne verilerini tutan nesne.

context
StreamingContext

Kaynak veya hedefle ilgili bağlamsal bilgi.

Öznitelikler

Açıklamalar

Bu oluşturucu, bir akış üzerinden iletilen özel durum nesnesini yeniden oluşturmak için seri durumundan çıkarma sırasında çağrılır.

Şunlara uygulanır

EntryPointNotFoundException(String, Exception)

Kaynak:
EntryPointNotFoundException.cs
Kaynak:
EntryPointNotFoundException.cs
Kaynak:
EntryPointNotFoundException.cs

Sınıfın EntryPointNotFoundException yeni bir örneğini belirtilen bir hata iletisiyle ve bu özel durumun nedeni olan iç özel duruma başvuruyla başlatır.

public:
 EntryPointNotFoundException(System::String ^ message, Exception ^ inner);
public EntryPointNotFoundException (string? message, Exception? inner);
public EntryPointNotFoundException (string message, Exception inner);
new EntryPointNotFoundException : string * Exception -> EntryPointNotFoundException
Public Sub New (message As String, inner As Exception)

Parametreler

message
String

Özel durumun nedenini açıklayan hata iletisi.

inner
Exception

Geçerli özel durumun nedeni olan özel durum. inner Parametre null başvuru değilse (NothingVisual Basic'te), geçerli özel durum iç özel durumu işleyen bir catch blokta oluşturulur.

Açıklamalar

Bir önceki özel durumun doğrudan bir sonucu olarak oluşturulan bir özel durum, InnerException özelliğindeki önceki özel duruma başvuru içermelidir. InnerException özelliği oluşturucuya geçirilen aynı değeri veya özellik oluşturucuya iç özel durum değeri sağlamazsa InnerException null başvuruyu (NothingVisual Basic'te) döndürür.

Aşağıdaki tablo, EntryPointNotFoundException öğesinin bir örneği için başlangıç özellik değerlerini gösterir.

Özellik Değer
InnerException İç özel duruma başvuru.
Message Hata iletisi dizesi.

Ayrıca bkz.

Şunlara uygulanır