Partager via


MetadataException, constructeur (String, Exception)

[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]

constructeur

Espace de noms :  System.Data.Entity.Core
Assembly :  EntityFramework (dans EntityFramework.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Utilisation
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
)

Paramètres

Voir aussi

Référence

MetadataException Classe

Surcharge MetadataException

Espace de noms System.Data.Entity.Core