Partager via


InvalidMetadataException Constructors

Definition

Overloads

InvalidMetadataException(Exception)

Initializes a new instance of the InvalidMetadataException class with the specified inner exception.

InvalidMetadataException(String)

Initializes a new instance of the InvalidMetadataException class with the specified error message.

InvalidMetadataException(Exception, String)

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

InvalidMetadataException(Exception)

Initializes a new instance of the InvalidMetadataException class with the specified inner exception.

public:
 InvalidMetadataException(Exception ^ innerException);
public InvalidMetadataException (Exception innerException);
new Microsoft.Xrm.Sdk.Data.Exceptions.InvalidMetadataException : Exception -> Microsoft.Xrm.Sdk.Data.Exceptions.InvalidMetadataException
Public Sub New (innerException As Exception)

Parameters

innerException
Exception

The exception that is the cause of the current exception.

Applies to

InvalidMetadataException(String)

Initializes a new instance of the InvalidMetadataException class with the specified error message.

public:
 InvalidMetadataException(System::String ^ message);
public InvalidMetadataException (string message);
new Microsoft.Xrm.Sdk.Data.Exceptions.InvalidMetadataException : string -> Microsoft.Xrm.Sdk.Data.Exceptions.InvalidMetadataException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

InvalidMetadataException(Exception, String)

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

public:
 InvalidMetadataException(Exception ^ innerException, System::String ^ message);
public InvalidMetadataException (Exception innerException, string message);
new Microsoft.Xrm.Sdk.Data.Exceptions.InvalidMetadataException : Exception * string -> Microsoft.Xrm.Sdk.Data.Exceptions.InvalidMetadataException
Public Sub New (innerException As Exception, message As String)

Parameters

innerException
Exception

>The exception that is the cause of the current exception.

message
String

The message that describes the error.

Applies to