InRowChangingEventException Konstruktory

Definice

Inicializuje novou instanci InRowChangingEventException třídy.

Přetížení

InRowChangingEventException()

Inicializuje novou instanci InRowChangingEventException třídy.

InRowChangingEventException(String)

Inicializuje novou instanci InRowChangingEventException třídy pomocí zadaného řetězce.

InRowChangingEventException(SerializationInfo, StreamingContext)
Zastaralé.

Inicializuje novou instanci InRowChangingEventException třídy s informacemi o serializaci.

InRowChangingEventException(String, Exception)

Inicializuje novou instanci InRowChangingEventException třídy se zadanou chybovou zprávou a odkazem na vnitřní výjimku, která je příčinou této výjimky.

InRowChangingEventException()

Zdroj:
DataException.cs
Zdroj:
DataException.cs
Zdroj:
DataException.cs

Inicializuje novou instanci InRowChangingEventException třídy.

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

Platí pro

InRowChangingEventException(String)

Zdroj:
DataException.cs
Zdroj:
DataException.cs
Zdroj:
DataException.cs

Inicializuje novou instanci InRowChangingEventException třídy pomocí zadaného řetězce.

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)

Parametry

s
String

Řetězec, který se má zobrazit při vyvolání výjimky.

Platí pro

InRowChangingEventException(SerializationInfo, StreamingContext)

Zdroj:
DataException.cs
Zdroj:
DataException.cs
Zdroj:
DataException.cs

Upozornění

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

Inicializuje novou instanci InRowChangingEventException třídy s informacemi o serializaci.

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)

Parametry

info
SerializationInfo

Data potřebná k serializaci nebo deserializaci objektu.

context
StreamingContext

Popis zdroje a cíle zadaného serializovaného streamu.

Atributy

Viz také

Platí pro

InRowChangingEventException(String, Exception)

Zdroj:
DataException.cs
Zdroj:
DataException.cs
Zdroj:
DataException.cs

Inicializuje novou instanci InRowChangingEventException třídy se zadanou chybovou zprávou a odkazem na vnitřní výjimku, která je příčinou této výjimky.

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)

Parametry

message
String

Chybová zpráva, která vysvětluje důvod výjimky.

innerException
Exception

Výjimka, která je příčinou aktuální výjimky, nebo odkaz null (Nothing v jazyce Visual Basic), pokud není zadána žádná vnitřní výjimka.

Platí pro