共用方式為


DbUpdateConcurrencyException 建構函式

定義

多載

DbUpdateConcurrencyException()

初始化 DbUpdateConcurrencyException 類別的新執行個體。

DbUpdateConcurrencyException(String)

初始化 DbUpdateConcurrencyException 類別的新執行個體。

DbUpdateConcurrencyException(SerializationInfo, StreamingContext)
已淘汰.

從序列化表單初始化 類別的新實例 DbUpdateException

DbUpdateConcurrencyException(String, IReadOnlyList<IUpdateEntry>)

初始化 DbUpdateConcurrencyException 類別的新執行個體。

DbUpdateConcurrencyException(String, Exception)

初始化 DbUpdateConcurrencyException 類別的新執行個體。

DbUpdateConcurrencyException(String, Exception, IReadOnlyList<IUpdateEntry>)

初始化 DbUpdateConcurrencyException 類別的新執行個體。

DbUpdateConcurrencyException()

來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs

初始化 DbUpdateConcurrencyException 類別的新執行個體。

public DbUpdateConcurrencyException ();
Public Sub New ()

適用於

DbUpdateConcurrencyException(String)

來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs

初始化 DbUpdateConcurrencyException 類別的新執行個體。

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

參數

message
String

解釋例外狀況原因的錯誤訊息。

適用於

DbUpdateConcurrencyException(SerializationInfo, StreamingContext)

來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs

警告

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

從序列化表單初始化 類別的新實例 DbUpdateException

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.")]
public DbUpdateConcurrencyException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException
[<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
Public Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

序列化資訊。

context
StreamingContext

正在使用的串流內容。

屬性

適用於

DbUpdateConcurrencyException(String, IReadOnlyList<IUpdateEntry>)

來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs

初始化 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))

參數

message
String

解釋例外狀況原因的錯誤訊息。

entries
IReadOnlyList<IUpdateEntry>

與並行違規相關的專案。

適用於

DbUpdateConcurrencyException(String, Exception)

來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs

初始化 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)

參數

message
String

解釋例外狀況原因的錯誤訊息。

innerException
Exception

做為目前例外狀況發生原因的例外狀況。

適用於

DbUpdateConcurrencyException(String, Exception, IReadOnlyList<IUpdateEntry>)

來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs
來源:
DbUpdateConcurrencyException.cs

初始化 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))

參數

message
String

解釋例外狀況原因的錯誤訊息。

innerException
Exception

做為目前例外狀況發生原因的例外狀況。

entries
IReadOnlyList<IUpdateEntry>

與錯誤相關的專案。

適用於