Aracılığıyla paylaş


DllNotFoundException Oluşturucular

Tanım

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

Aşırı Yüklemeler

Name Description
DllNotFoundException()

Sınıfın DllNotFoundException yeni bir örneğini varsayılan özelliklerle başlatır.

DllNotFoundException(String)

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

DllNotFoundException(SerializationInfo, StreamingContext)
Geçersiz.

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

DllNotFoundException(String, Exception)

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

DllNotFoundException()

Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs

Sınıfın DllNotFoundException yeni bir örneğini varsayılan özelliklerle başlatır.

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

Açıklamalar

Aşağıdaki tabloda, örneğinin ilk özellik değerleri gösterilmektedir DllNotFoundException.

Mülkiyet Değer
InnerException Null başvuru (Nothing Visual Basic'te).
Message Yerelleştirilmiş hata iletisi dizesi.

Şunlara uygulanır

DllNotFoundException(String)

Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs

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

public:
 DllNotFoundException(System::String ^ message);
public DllNotFoundException(string message);
public DllNotFoundException(string? message);
new DllNotFoundException : string -> DllNotFoundException
Public Sub New (message As String)

Parametreler

message
String

Özel durumun nedenini açıklayan hata iletisi.

Açıklamalar

Aşağıdaki tabloda, örneğinin ilk özellik değerleri gösterilmektedir DllNotFoundException.

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

Şunlara uygulanır

DllNotFoundException(SerializationInfo, StreamingContext)

Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs

Dikkat

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

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

protected:
 DllNotFoundException(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 DllNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected DllNotFoundException(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}")>]
new DllNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> DllNotFoundException
new DllNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> DllNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametreler

info
SerializationInfo

Oluşan SerializationInfo özel durumla ilgili serileştirilmiş nesne verilerini tutan.

context
StreamingContext

StreamingContext Kaynak veya hedef hakkında bağlamsal bilgileri içeren.

Öznitelikler

Şunlara uygulanır

DllNotFoundException(String, Exception)

Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs
Kaynak:
DllNotFoundException.cs

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

public:
 DllNotFoundException(System::String ^ message, Exception ^ inner);
public DllNotFoundException(string message, Exception inner);
public DllNotFoundException(string? message, Exception? inner);
new DllNotFoundException : string * Exception -> DllNotFoundException
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 parametresi değilsenull, geçerli özel durum, iç özel durumu işleyen bir catch blokta oluşturulur.

Açıklamalar

Önceki bir özel durumun doğrudan sonucu olarak oluşan bir özel durum, özelliğindeki önceki özel duruma başvuru içermelidir InnerException . InnerException özelliği oluşturucuya geçirilen aynı değeri döndürür veya null özelliği oluşturucuya iç özel durum değeri sağlamaz.InnerException

Aşağıdaki tabloda, örneğinin ilk özellik değerleri gösterilmektedir DllNotFoundException.

Mülkiyet Değer
InnerException İç özel durum başvurusu.
Message Hata iletisi dizesi.

Ayrıca bkz.

Şunlara uygulanır