MetadataException Constructor (String, Exception)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the MetadataException class with the specified message and inner exception.

Namespace:   System.Data
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public MetadataException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

The exception message.

innerException
Type: System.Exception

The exception that is the cause of this MetadataException.

.NET Framework
Available since 3.5
Return to top
Show: