NoNullAllowedException Oluşturucular

Tanım

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

Aşırı Yüklemeler

Name Description
NoNullAllowedException()

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

NoNullAllowedException(String)

Belirtilen dize ile sınıfının yeni bir örneğini NoNullAllowedException başlatır.

NoNullAllowedException(SerializationInfo, StreamingContext)
Geçersiz.

Serileştirme bilgileriyle sınıfının yeni bir örneğini NoNullAllowedException başlatır.

NoNullAllowedException(String, Exception)

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

NoNullAllowedException()

Kaynak:
DataException.cs
Kaynak:
DataException.cs
Kaynak:
DataException.cs
Kaynak:
DataException.cs
Kaynak:
DataException.cs

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

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

Şunlara uygulanır

NoNullAllowedException(String)

Kaynak:
DataException.cs
Kaynak:
DataException.cs
Kaynak:
DataException.cs
Kaynak:
DataException.cs
Kaynak:
DataException.cs

Belirtilen dize ile sınıfının yeni bir örneğini NoNullAllowedException başlatır.

public:
 NoNullAllowedException(System::String ^ s);
public NoNullAllowedException(string? s);
public NoNullAllowedException(string s);
new System.Data.NoNullAllowedException : string -> System.Data.NoNullAllowedException
Public Sub New (s As String)

Parametreler

s
String

Özel durum oluşturulduğunda görüntülenecek dize.

Şunlara uygulanır

NoNullAllowedException(SerializationInfo, StreamingContext)

Kaynak:
DataException.cs
Kaynak:
DataException.cs
Kaynak:
DataException.cs
Kaynak:
DataException.cs
Kaynak:
DataException.cs

Dikkat

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

Serileştirme bilgileriyle sınıfının yeni bir örneğini NoNullAllowedException başlatır.

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

Parametreler

info
SerializationInfo

Bir nesneyi seri hale getirmek veya seri durumdan çıkarmak için gereken veriler.

context
StreamingContext

Belirtilen serileştirilmiş akışın kaynak ve hedefinin açıklaması.

Öznitelikler

Ayrıca bkz.

Şunlara uygulanır

NoNullAllowedException(String, Exception)

Kaynak:
DataException.cs
Kaynak:
DataException.cs
Kaynak:
DataException.cs
Kaynak:
DataException.cs
Kaynak:
DataException.cs

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

public:
 NoNullAllowedException(System::String ^ message, Exception ^ innerException);
public NoNullAllowedException(string? message, Exception? innerException);
public NoNullAllowedException(string message, Exception innerException);
new System.Data.NoNullAllowedException : string * Exception -> System.Data.NoNullAllowedException
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 (Nothing Visual Basic'te).

Şunlara uygulanır