RowNotInTableException Costruttori

Definizione

Inizializza una nuova istanza della RowNotInTableException classe senza argomenti.

Overload

Nome Descrizione
RowNotInTableException()

Inizializza una nuova istanza della classe RowNotInTableException.

RowNotInTableException(String)

Inizializza una nuova istanza della RowNotInTableException classe con la stringa specificata.

RowNotInTableException(SerializationInfo, StreamingContext)
Obsoleti.

Inizializza una nuova istanza della RowNotInTableException classe con informazioni di serializzazione.

RowNotInTableException(String, Exception)

Inizializza una nuova istanza della RowNotInTableException classe con un messaggio di errore specificato e un riferimento all'eccezione interna che è la causa di questa eccezione.

RowNotInTableException()

Origine:
DataException.cs
Origine:
DataException.cs
Origine:
DataException.cs
Origine:
DataException.cs
Origine:
DataException.cs

Inizializza una nuova istanza della classe RowNotInTableException.

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

Si applica a

RowNotInTableException(String)

Origine:
DataException.cs
Origine:
DataException.cs
Origine:
DataException.cs
Origine:
DataException.cs
Origine:
DataException.cs

Inizializza una nuova istanza della RowNotInTableException classe con la stringa specificata.

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)

Parametri

s
String

Stringa da visualizzare quando viene generata l'eccezione.

Si applica a

RowNotInTableException(SerializationInfo, StreamingContext)

Origine:
DataException.cs
Origine:
DataException.cs
Origine:
DataException.cs
Origine:
DataException.cs
Origine:
DataException.cs

Attenzione

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

Inizializza una nuova istanza della RowNotInTableException classe con informazioni di serializzazione.

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)

Parametri

info
SerializationInfo

Dati necessari per serializzare o deserializzare un oggetto.

context
StreamingContext

Descrizione dell'origine e della destinazione del flusso serializzato specificato.

Attributi

Vedi anche

Si applica a

RowNotInTableException(String, Exception)

Origine:
DataException.cs
Origine:
DataException.cs
Origine:
DataException.cs
Origine:
DataException.cs
Origine:
DataException.cs

Inizializza una nuova istanza della RowNotInTableException classe con un messaggio di errore specificato e un riferimento all'eccezione interna che è la causa di questa eccezione.

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)

Parametri

message
String

Messaggio di errore che spiega il motivo dell'eccezione.

innerException
Exception

Eccezione che è la causa dell'eccezione corrente o un riferimento Null (Nothing in Visual Basic) se non viene specificata alcuna eccezione interna.

Si applica a