次の方法で共有


MetadataException コンストラクター (String, Exception)

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、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
)

パラメーター

  • message
    型 : System.String
    ローカライズされたエラー メッセージ

参照

参照

MetadataException クラス

MetadataException オーバーロード

System.Data.Entity.Core 名前空間