MetadataException 构造函数 (String, Exception)

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

构造函数

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

语法

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

Dim instance As New MetadataException(message, _
    innerException)
public MetadataException(
    string message,
    Exception innerException
)
public:
MetadataException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> MetadataException
public function MetadataException(
    message : String, 
    innerException : Exception
)

参数

请参阅

参考

MetadataException 类

MetadataException 重载

System.Data.Entity.Core 命名空间