RuntimeBinderException Oluşturucular

Tanım

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

Aşırı Yüklemeler

RuntimeBinderException()

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

RuntimeBinderException(String)

Belirtilen hata iletisine RuntimeBinderException sahip sınıfının yeni bir örneğini başlatır.

RuntimeBinderException(SerializationInfo, StreamingContext)
Geçersiz.

Serileştirilmiş veriler içeren sınıfının yeni bir örneğini RuntimeBinderException başlatır.

RuntimeBinderException(String, Exception)

Belirtilen hata iletisine RuntimeBinderException ve bu özel durumun nedeni olan iç özel duruma başvuruya sahip sınıfın yeni bir örneğini başlatır.

RuntimeBinderException()

Kaynak:
RuntimeBinderException.cs
Kaynak:
RuntimeBinderException.cs
Kaynak:
RuntimeBinderException.cs

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

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

Açıklamalar

Bu oluşturucu yeni örneğin özelliğini, "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply" gibi hatayı açıklayan sistem tarafından sağlanan bir iletiye başlatır Message . Bu ileti geçerli sistem kültürünü dikkate alır.

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

Özellik Değer
InnerException null.
Message Yerelleştirilmiş hata ileti dizesi.

Ayrıca bkz.

Şunlara uygulanır

RuntimeBinderException(String)

Kaynak:
RuntimeBinderException.cs
Kaynak:
RuntimeBinderException.cs
Kaynak:
RuntimeBinderException.cs

Belirtilen hata iletisine RuntimeBinderException sahip sınıfının yeni bir örneğini başlatır.

public:
 RuntimeBinderException(System::String ^ message);
public RuntimeBinderException (string message);
public RuntimeBinderException (string? message);
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderException : string -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
Public Sub New (message As String)

Parametreler

message
String

Özel durumu açıklayan ileti. 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çıklamalar

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

Özellik Değer
InnerException null.
Message message öğesinde belirtilen hata iletisi dizesi.

Ayrıca bkz.

Şunlara uygulanır

RuntimeBinderException(SerializationInfo, StreamingContext)

Kaynak:
RuntimeBinderException.cs
Kaynak:
RuntimeBinderException.cs
Kaynak:
RuntimeBinderException.cs

Dikkat

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

Serileştirilmiş veriler içeren sınıfının yeni bir örneğini RuntimeBinderException başlatır.

protected:
 RuntimeBinderException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected RuntimeBinderException (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 RuntimeBinderException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
[<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 Microsoft.CSharp.RuntimeBinder.RuntimeBinderException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametreler

info
SerializationInfo

Oluşan özel durumla ilgili 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

RuntimeBinderException(String, Exception)

Kaynak:
RuntimeBinderException.cs
Kaynak:
RuntimeBinderException.cs
Kaynak:
RuntimeBinderException.cs

Belirtilen hata iletisine RuntimeBinderException ve bu özel durumun nedeni olan iç özel duruma başvuruya sahip sınıfın yeni bir örneğini başlatır.

public:
 RuntimeBinderException(System::String ^ message, Exception ^ innerException);
public RuntimeBinderException (string message, Exception innerException);
public RuntimeBinderException (string? message, Exception? innerException);
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderException : string * Exception -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
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 veya iç özel durum belirtilmemişse null başvuru.

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 iletilen aynı değeri ya da InnerException özelliği oluşturucuya iç özel durum değeri sağlamıyorsa null değerini döndürür.

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

Özellik Değer
InnerException null.
Message message öğesinde belirtilen hata iletisi dizesi.

Şunlara uygulanır