ConversionException ConversionException ConversionException Constructors

Definition

Overloads

ConversionException() ConversionException() ConversionException()

Initializes a new instance of the ConversionException class.

ConversionException(String) ConversionException(String) ConversionException(String)

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

ConversionException(String, Exception) ConversionException(String, Exception) ConversionException(String, Exception)

Initializes a new instance of the ConversionException class with a specified error message and a reference to the inner exception that causes this exception.

ConversionException() ConversionException() ConversionException()

Initializes a new instance of the ConversionException class.

public:
 ConversionException();
public ConversionException ();
Public Sub New ()

ConversionException(String) ConversionException(String) ConversionException(String)

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

public:
 ConversionException(System::String ^ message);
public ConversionException (string message);
Public Sub New (message As String)
Parameters
message
String String String

The error message that explains the reason for this exception.

ConversionException(String, Exception) ConversionException(String, Exception) ConversionException(String, Exception)

Initializes a new instance of the ConversionException class with a specified error message and a reference to the inner exception that causes this exception.

public:
 ConversionException(System::String ^ message, Exception ^ innerException);
public ConversionException (string message, Exception innerException);
Public Sub New (message As String, innerException As Exception)
Parameters
message
String String String

The error message that explains the reason for this exception.

innerException
Exception Exception Exception

The inner exception that causes this exception.

Applies to