EntityCommandExecutionException 构造函数 (String)

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

使用消息(但没有内部异常)初始化 EntityCommandExecutionException 的新实例。 可能不应该存在,但它有益于 FxCop。

命名空间:  System.Data.Entity.Core
程序集:  EntityFramework(在 EntityFramework.dll 中)

语法

声明
Public Sub New ( _
    message As String _
)
用法
Dim message As String 

Dim instance As New EntityCommandExecutionException(message)
public EntityCommandExecutionException(
    string message
)
public:
EntityCommandExecutionException(
    String^ message
)
new : 
        message:string -> EntityCommandExecutionException
public function EntityCommandExecutionException(
    message : String
)

参数

请参阅

参考

EntityCommandExecutionException 类

EntityCommandExecutionException 重载

System.Data.Entity.Core 命名空间