Bahasa

DbUpdateConcurrencyException Konstruktor

Definisi

Overload

DbUpdateConcurrencyException()

DbUpdateConcurrencyException(String)

Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs

Menginisialisasi instans baru dari kelas DbUpdateConcurrencyException.

public DbUpdateConcurrencyException(string message);
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : string -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
Public Sub New (message As String)

Parameter

message
String

Pesan kesalahan yang menjelaskan alasan pengecualian.

Berlaku untuk

DbUpdateConcurrencyException(SerializationInfo, StreamingContext)

Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs

Perhatian

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

Menginisialisasi instans DbUpdateException baru kelas dari formulir berseri.

[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
public DbUpdateConcurrencyException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
public DbUpdateConcurrencyException(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.")>]
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
Public Sub New (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo

Info serialisasi.

context
StreamingContext

Konteks streaming yang digunakan.

Atribut

Berlaku untuk

DbUpdateConcurrencyException(String, IReadOnlyList<IUpdateEntry>)

Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs

Menginisialisasi instans baru dari kelas DbUpdateConcurrencyException.

public DbUpdateConcurrencyException(string message, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
Public Sub New (message As String, entries As IReadOnlyList(Of IUpdateEntry))

Parameter

message
String

Pesan kesalahan yang menjelaskan alasan pengecualian.

entries
IReadOnlyList<IUpdateEntry>

Entri yang terlibat dalam pelanggaran konkurensi.

Berlaku untuk

DbUpdateConcurrencyException(String, Exception)

Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs

Menginisialisasi instans baru dari kelas DbUpdateConcurrencyException.

public DbUpdateConcurrencyException(string message, Exception? innerException);
public DbUpdateConcurrencyException(string message, Exception innerException);
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : string * Exception -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
Public Sub New (message As String, innerException As Exception)

Parameter

message
String

Pesan kesalahan yang menjelaskan alasan pengecualian.

innerException
Exception

Pengecualian yang merupakan penyebab pengecualian saat ini.

Berlaku untuk

DbUpdateConcurrencyException(String, Exception, IReadOnlyList<IUpdateEntry>)

Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs
Sumber:
DbUpdateConcurrencyException.cs

Menginisialisasi instans baru dari kelas DbUpdateConcurrencyException.

public DbUpdateConcurrencyException(string message, Exception? innerException, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
public DbUpdateConcurrencyException(string message, Exception innerException, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : string * Exception * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
Public Sub New (message As String, innerException As Exception, entries As IReadOnlyList(Of IUpdateEntry))

Parameter

message
String

Pesan kesalahan yang menjelaskan alasan pengecualian.

innerException
Exception

Pengecualian yang merupakan penyebab pengecualian saat ini.

entries
IReadOnlyList<IUpdateEntry>

Entri yang terlibat dalam kesalahan.

Berlaku untuk