ProviderIncompatibleException-Konstruktor (String, Exception)
[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]
Initialisiert eine neue Instanz der ProviderIncompatibleException-Klasse mit der angegebenen Fehlermeldung und der angegebenen internen Ausnahme.
Namespace: System.Data.Entity.Core
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim instance As New ProviderIncompatibleException(message, _
innerException)
public ProviderIncompatibleException(
string message,
Exception innerException
)
public:
ProviderIncompatibleException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> ProviderIncompatibleException
public function ProviderIncompatibleException(
message : String,
innerException : Exception
)
Parameter
- message
Typ: System.String
Die Fehlermeldung, in der die Ausnahme erläutert wird.
- innerException
Typ: System.Exception
Die interne Ausnahme, die die Ursache der aktuellen Ausnahme ist.
Siehe auch
Verweis
ProviderIncompatibleException Klasse