MetadataException Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the MetadataException class.
MetadataException() |
Initializes a new instance of the MetadataException class with a default message. |
MetadataException(String) |
Initializes a new instance of the MetadataException class with the specified message. |
MetadataException(String, Exception) |
Initializes a new instance of the MetadataException class with the specified message and inner exception. |
Initializes a new instance of the MetadataException class with a default message.
public:
MetadataException();
public MetadataException();
Public Sub New ()
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new instance of the MetadataException class with the specified message.
public:
MetadataException(System::String ^ message);
public MetadataException(string message);
new System.Data.MetadataException : string -> System.Data.MetadataException
Public Sub New (message As String)
Parameters
- message
- String
The exception message.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new instance of the MetadataException class with the specified message and inner exception.
public:
MetadataException(System::String ^ message, Exception ^ innerException);
public MetadataException(string message, Exception innerException);
new System.Data.MetadataException : string * Exception -> System.Data.MetadataException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The exception message.
- innerException
- Exception
The exception that is the cause of this MetadataException.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: