次の方法で共有


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

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

メッセージと内部例外インスタンスを指定して、EntityCommandCompilationException の新しいインスタンスを初期化します。

名前空間:  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 EntityCommandCompilationException(message, _
    innerException)
public EntityCommandCompilationException(
    string message,
    Exception innerException
)
public:
EntityCommandCompilationException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> EntityCommandCompilationException
public function EntityCommandCompilationException(
    message : String, 
    innerException : Exception
)

パラメーター

参照

参照

EntityCommandCompilationException クラス

EntityCommandCompilationException オーバーロード

System.Data.Entity.Core 名前空間