ProviderIncompatibleException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| ProviderIncompatibleException() |
初始化新实例 。ProviderIncompatibleException |
| ProviderIncompatibleException(String) |
使用专用错误消息初始化新实例 ProviderIncompatibleException 。 |
| ProviderIncompatibleException(String, Exception) |
初始化该实例的新实例,该实例 ProviderIncompatibleException 使用指定的错误消息。 |
ProviderIncompatibleException()
ProviderIncompatibleException(String)
使用专用错误消息初始化新实例 ProviderIncompatibleException 。
public ProviderIncompatibleException(string message);
new System.Data.Entity.Core.ProviderIncompatibleException : string -> System.Data.Entity.Core.ProviderIncompatibleException
Public Sub New (message As String)
参数
- message
- String
描述错误的消息。
适用于
ProviderIncompatibleException(String, Exception)
初始化该实例的新实例,该实例 ProviderIncompatibleException 使用指定的错误消息。
public ProviderIncompatibleException(string message, Exception innerException);
new System.Data.Entity.Core.ProviderIncompatibleException : string * Exception -> System.Data.Entity.Core.ProviderIncompatibleException
Public Sub New (message As String, innerException As Exception)
参数
- message
- String
描述错误的消息。
- innerException
- Exception
作为当前异常原因的异常,如果未指定内部异常,则为 null 引用 (Visual Basic) 中无任何内容。