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 DllNotFoundException sınıfının yeni bir örneğini başlatır.

DllNotFoundException(String, Exception)

Belirtilen bir hata iletisi ve bu özel durumun nedeni olan iç özel duruma başvuru ile DllNotFoundException sınıfının yeni bir örneğini 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, DllNotFoundExceptionörneğinin ilk özellik değerleri gösterilmektedir.

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, DllNotFoundExceptionörneğinin ilk özellik değerleri gösterilmektedir.

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 DllNotFoundException sınıfının yeni bir örneğini 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

Belirtilen bir hata iletisi ve bu özel durumun nedeni olan iç özel duruma başvuru ile DllNotFoundException sınıfının yeni bir örneğini 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 nulldeğilse, geçerli özel durum, iç özel durumu işleyen bir catch bloğunda oluşturulur.

Açıklamalar

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

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

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

Ayrıca bkz.

Şunlara uygulanır