InRowChangingEventException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy InRowChangingEventException.

Przeciążenia

InRowChangingEventException()

Inicjuje nowe wystąpienie klasy InRowChangingEventException.

InRowChangingEventException(String)

Inicjuje InRowChangingEventException nowe wystąpienie klasy z określonym ciągiem.

InRowChangingEventException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje InRowChangingEventException nowe wystąpienie klasy z informacjami o serializacji.

InRowChangingEventException(String, Exception)

Inicjuje nowe wystąpienie InRowChangingEventException klasy z określonym komunikatem o błędzie i odwołaniem do wewnętrznego wyjątku, który jest przyczyną tego wyjątku.

InRowChangingEventException()

Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs

Inicjuje nowe wystąpienie klasy InRowChangingEventException.

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

Dotyczy

InRowChangingEventException(String)

Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs

Inicjuje InRowChangingEventException nowe wystąpienie klasy z określonym ciągiem.

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

Ciąg do wyświetlenia, gdy zostanie zgłoszony wyjątek.

Dotyczy

InRowChangingEventException(SerializationInfo, StreamingContext)

Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs

Przestroga

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

Inicjuje InRowChangingEventException nowe wystąpienie klasy z informacjami o serializacji.

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

Dane wymagane do serializacji lub deserializacji obiektu.

context
StreamingContext

Opis źródła i miejsca docelowego określonego serializowanego strumienia.

Atrybuty

Zobacz też

Dotyczy

InRowChangingEventException(String, Exception)

Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs

Inicjuje nowe wystąpienie InRowChangingEventException klasy z określonym komunikatem o błędzie i odwołaniem do wewnętrznego wyjątku, który jest przyczyną tego wyjątku.

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

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

innerException
Exception

Wyjątek, który jest przyczyną bieżącego wyjątku lub odwołanie o wartości null (Nothing w Visual Basic), jeśli nie określono wyjątku wewnętrznego.

Dotyczy