DbUpdateException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DbUpdateException() |
初始化 DbUpdateException 类的新实例。 |
DbUpdateException(String) |
初始化 DbUpdateException 类的新实例。 |
DbUpdateException(String, Exception) |
初始化 DbUpdateException 类的新实例。 |
DbUpdateException()
DbUpdateException(String)
初始化 DbUpdateException 类的新实例。
public DbUpdateException(string message);
new System.Data.Entity.Infrastructure.DbUpdateException : string -> System.Data.Entity.Infrastructure.DbUpdateException
Public Sub New (message As String)
参数
- message
- String
消息。
适用于
DbUpdateException(String, Exception)
初始化 DbUpdateException 类的新实例。
public DbUpdateException(string message, Exception innerException);
new System.Data.Entity.Infrastructure.DbUpdateException : string * Exception -> System.Data.Entity.Infrastructure.DbUpdateException
Public Sub New (message As String, innerException As Exception)
参数
- message
- String
消息。
- innerException
- Exception
内部异常。