RowNotInTableException Konstruktorer

Definition

Initierar en ny instans av RowNotInTableException klassen utan argument.

Överlagringar

Name Description
RowNotInTableException()

Initierar en ny instans av RowNotInTableException klassen.

RowNotInTableException(String)

Initierar en ny instans av RowNotInTableException klassen med den angivna strängen.

RowNotInTableException(SerializationInfo, StreamingContext)
Föråldrad.

Initierar en ny instans av RowNotInTableException klassen med serialiseringsinformation.

RowNotInTableException(String, Exception)

Initierar en ny instans av RowNotInTableException klassen med ett angivet felmeddelande och en referens till det inre undantaget som är orsaken till det här undantaget.

RowNotInTableException()

Källa:
DataException.cs
Källa:
DataException.cs
Källa:
DataException.cs
Källa:
DataException.cs
Källa:
DataException.cs

Initierar en ny instans av RowNotInTableException klassen.

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

Gäller för

RowNotInTableException(String)

Källa:
DataException.cs
Källa:
DataException.cs
Källa:
DataException.cs
Källa:
DataException.cs
Källa:
DataException.cs

Initierar en ny instans av RowNotInTableException klassen med den angivna strängen.

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

Parametrar

s
String

Strängen som ska visas när undantaget utlöses.

Gäller för

RowNotInTableException(SerializationInfo, StreamingContext)

Källa:
DataException.cs
Källa:
DataException.cs
Källa:
DataException.cs
Källa:
DataException.cs
Källa:
DataException.cs

Varning

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

Initierar en ny instans av RowNotInTableException klassen med serialiseringsinformation.

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

Parametrar

info
SerializationInfo

De data som krävs för att serialisera eller deserialisera ett objekt.

context
StreamingContext

Beskrivning av källan och målet för den angivna serialiserade strömmen.

Attribut

Se även

Gäller för

RowNotInTableException(String, Exception)

Källa:
DataException.cs
Källa:
DataException.cs
Källa:
DataException.cs
Källa:
DataException.cs
Källa:
DataException.cs

Initierar en ny instans av RowNotInTableException klassen med ett angivet felmeddelande och en referens till det inre undantaget som är orsaken till det här undantaget.

public:
 RowNotInTableException(System::String ^ message, Exception ^ innerException);
public RowNotInTableException(string? message, Exception? innerException);
public RowNotInTableException(string message, Exception innerException);
new System.Data.RowNotInTableException : string * Exception -> System.Data.RowNotInTableException
Public Sub New (message As String, innerException As Exception)

Parametrar

message
String

Felmeddelandet som förklarar orsaken till undantaget.

innerException
Exception

Undantaget som är orsaken till det aktuella undantaget eller en null-referens (Nothing i Visual Basic) om inget inre undantag har angetts.

Gäller för