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(String)

Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
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)

Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
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>)

Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
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)

Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
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>)

Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
DbUpdateConcurrencyException.cs
Source:
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>

错误中涉及的条目。

适用于