DeletedRowInaccessibleException Konstruktorer

Definition

Initierar en ny instans av DeletedRowInaccessibleException klassen.

Överlagringar

Name Description
DeletedRowInaccessibleException()

Initierar en ny instans av DeletedRowInaccessibleException klassen.

DeletedRowInaccessibleException(String)

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

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

Initierar en ny instans av DeletedRowInaccessibleException klassen med serialiseringsinformation.

DeletedRowInaccessibleException(String, Exception)

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

DeletedRowInaccessibleException()

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

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

Kommentarer

RowState Använd klassen DataRow för att avgöra om en rad har tagits bort.

Se även

Gäller för

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

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

Parametrar

s
String

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

Kommentarer

RowState Använd klassen DataRow för att avgöra om en rad har tagits bort.

Se även

Gäller för

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

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

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

public:
 DeletedRowInaccessibleException(System::String ^ message, Exception ^ innerException);
public DeletedRowInaccessibleException(string? message, Exception? innerException);
public DeletedRowInaccessibleException(string message, Exception innerException);
new System.Data.DeletedRowInaccessibleException : string * Exception -> System.Data.DeletedRowInaccessibleException
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.

Kommentarer

RowState Använd klassen DataRow för att avgöra om en rad har tagits bort.

Gäller för