InRowChangingEventException Costruttori

Definizione

Inizializza una nuova istanza della classe InRowChangingEventException.

Overload

InRowChangingEventException()

Inizializza una nuova istanza della classe InRowChangingEventException.

InRowChangingEventException(String)

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

InRowChangingEventException(SerializationInfo, StreamingContext)
Obsoleti.

Inizializza una nuova istanza della classe InRowChangingEventException con le informazioni di serializzazione.

InRowChangingEventException(String, Exception)

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

InRowChangingEventException()

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

Inizializza una nuova istanza della classe InRowChangingEventException.

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

Si applica a

InRowChangingEventException(String)

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

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

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

Parametri

s
String

Stringa da visualizzare quando viene generata l'eccezione.

Si applica a

InRowChangingEventException(SerializationInfo, StreamingContext)

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 classe InRowChangingEventException con le informazioni di serializzazione.

protected:
 InRowChangingEventException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InRowChangingEventException (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 InRowChangingEventException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Data.InRowChangingEventException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.InRowChangingEventException
[<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.InRowChangingEventException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.InRowChangingEventException
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

InRowChangingEventException(String, Exception)

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

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

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

Parametri

message
String

Messaggio di errore in cui viene indicato il motivo dell'eccezione.

innerException
Exception

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

Si applica a