This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
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)

Parameters

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

Parameters

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)

Parameters