InRowChangingEventException Konstruktorer

Definition

Initierar en ny instans av InRowChangingEventException klassen.

Överlagringar

Name Description
InRowChangingEventException()

Initierar en ny instans av InRowChangingEventException klassen.

InRowChangingEventException(String)

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

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

Initierar en ny instans av InRowChangingEventException klassen med serialiseringsinformation.

InRowChangingEventException(String, Exception)

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

InRowChangingEventException()

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 InRowChangingEventException klassen.

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

Gäller för

InRowChangingEventException(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 InRowChangingEventException klassen med den angivna strängen.

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)

Parametrar

s
String

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

Gäller för

InRowChangingEventException(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 InRowChangingEventException klassen med serialiseringsinformation.

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);
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}")>]
new System.Data.InRowChangingEventException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.InRowChangingEventException
new System.Data.InRowChangingEventException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.InRowChangingEventException
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

InRowChangingEventException(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 InRowChangingEventException klassen med ett angivet felmeddelande och en referens till det inre undantaget som är orsaken till det här undantaget.

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)

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