DbUpdateException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DbUpdateException()
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
初始化 DbUpdateException 类的新实例。
public DbUpdateException ();
Public Sub New ()
适用于
DbUpdateException(String)
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
初始化 DbUpdateException 类的新实例。
public DbUpdateException (string message);
new Microsoft.EntityFrameworkCore.DbUpdateException : string -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (message As String)
参数
- message
- String
解释异常原因的错误消息。
适用于
DbUpdateException(SerializationInfo, StreamingContext)
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
注意
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
从序列化形式 DbUpdateException 初始化 类的新实例。
public DbUpdateException (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 DbUpdateException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EntityFrameworkCore.DbUpdateException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EntityFrameworkCore.DbUpdateException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")>]
new Microsoft.EntityFrameworkCore.DbUpdateException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (info As SerializationInfo, context As StreamingContext)
参数
- info
- SerializationInfo
序列化信息。
- context
- StreamingContext
正在使用的流式处理上下文。
- 属性
适用于
DbUpdateException(String, IReadOnlyList<EntityEntry>)
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
初始化 DbUpdateException 类的新实例。
public DbUpdateException (string message, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry> entries);
new Microsoft.EntityFrameworkCore.DbUpdateException : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry> -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (message As String, entries As IReadOnlyList(Of EntityEntry))
参数
- message
- String
解释异常原因的错误消息。
- entries
- IReadOnlyList<EntityEntry>
错误中涉及的条目。
适用于
DbUpdateException(String, IReadOnlyList<IUpdateEntry>)
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
初始化 DbUpdateException 类的新实例。
public DbUpdateException (string message, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
new Microsoft.EntityFrameworkCore.DbUpdateException : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (message As String, entries As IReadOnlyList(Of IUpdateEntry))
参数
- message
- String
解释异常原因的错误消息。
- entries
- IReadOnlyList<IUpdateEntry>
错误中涉及的条目。
适用于
DbUpdateException(String, Exception)
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
初始化 DbUpdateException 类的新实例。
public DbUpdateException (string message, Exception innerException);
public DbUpdateException (string message, Exception? innerException);
new Microsoft.EntityFrameworkCore.DbUpdateException : string * Exception -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (message As String, innerException As Exception)
参数
- message
- String
解释异常原因的错误消息。
- innerException
- Exception
导致当前异常的异常。
适用于
DbUpdateException(String, Exception, IReadOnlyList<EntityEntry>)
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
初始化 DbUpdateException 类的新实例。
public DbUpdateException (string message, Exception? innerException, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry> entries);
new Microsoft.EntityFrameworkCore.DbUpdateException : string * Exception * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry> -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (message As String, innerException As Exception, entries As IReadOnlyList(Of EntityEntry))
参数
- message
- String
解释异常原因的错误消息。
- innerException
- Exception
导致当前异常的异常。
- entries
- IReadOnlyList<EntityEntry>
错误中涉及的条目。
适用于
DbUpdateException(String, Exception, IReadOnlyList<IUpdateEntry>)
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
- Source:
- DbUpdateException.cs
初始化 DbUpdateException 类的新实例。
public DbUpdateException (string message, Exception innerException, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
public DbUpdateException (string message, Exception? innerException, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
new Microsoft.EntityFrameworkCore.DbUpdateException : string * Exception * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> -> Microsoft.EntityFrameworkCore.DbUpdateException
Public Sub New (message As String, innerException As Exception, entries As IReadOnlyList(Of IUpdateEntry))
参数
- message
- String
解释异常原因的错误消息。
- innerException
- Exception
导致当前异常的异常。
- entries
- IReadOnlyList<IUpdateEntry>
错误中涉及的条目。