InvalidDataTypeException InvalidDataTypeException InvalidDataTypeException Constructors

Definition

Overloads

InvalidDataTypeException(String) InvalidDataTypeException(String) InvalidDataTypeException(String)

Initializes a new instance of the InvalidDataTypeException class.

InvalidDataTypeException(String, Exception) InvalidDataTypeException(String, Exception) InvalidDataTypeException(String, Exception)

Initializes a new instance of the InvalidDataTypeException class.

InvalidDataTypeException(String) InvalidDataTypeException(String) InvalidDataTypeException(String)

Initializes a new instance of the InvalidDataTypeException class.

public:
 InvalidDataTypeException(System::String ^ msg);
public InvalidDataTypeException (string msg);
Public Sub New (msg As String)
Parameters
msg
String String String

An error message that explains the reason for the exception, or an empty string.

InvalidDataTypeException(String, Exception) InvalidDataTypeException(String, Exception) InvalidDataTypeException(String, Exception)

Initializes a new instance of the InvalidDataTypeException class.

public:
 InvalidDataTypeException(System::String ^ msg, Exception ^ e);
public InvalidDataTypeException (string msg, Exception e);
Public Sub New (msg As String, e As Exception)
Parameters
msg
String String String

An error message that explains the reason for the exception, or an empty string.

e
Exception Exception Exception

Inner exception that is the cause of this exception.

Applies to