EntityCommandCompilationException 构造函数   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 EntityCommandCompilationException 的新实例。
重载
注解
有关如何处理代码异常的更多信息,请参见 Exception。
EntityCommandCompilationException()
初始化 EntityCommandCompilationException 的新实例。
public:
 EntityCommandCompilationException();public EntityCommandCompilationException();Public Sub New ()注解
有关如何处理异常代码的更多信息,请参见 Exception。
适用于
EntityCommandCompilationException(String)
初始化 EntityCommandCompilationException 的新实例。
public:
 EntityCommandCompilationException(System::String ^ message);public EntityCommandCompilationException(string message);new System.Data.EntityCommandCompilationException : string -> System.Data.EntityCommandCompilationExceptionPublic Sub New (message As String)参数
- message
- String
描述错误的消息。
注解
有关如何处理代码异常的更多信息,请参见 Exception。
适用于
EntityCommandCompilationException(String, Exception)
初始化 EntityCommandCompilationException 的新实例。
public:
 EntityCommandCompilationException(System::String ^ message, Exception ^ innerException);public EntityCommandCompilationException(string message, Exception innerException);new System.Data.EntityCommandCompilationException : string * Exception -> System.Data.EntityCommandCompilationExceptionPublic Sub New (message As String, innerException As Exception)参数
- message
- String
解释异常原因的错误消息。
- innerException
- Exception
导致当前异常的异常,或者,如果未指定任何内部异常,则为 null 引用(在 Visual Basic 中为 Nothing)。
注解
有关如何处理异常代码的更多信息,请参见 Exception。