ConversionException ConversionException ConversionException Class

Definition

An exception that is thrown when a conversion fails.

public ref class ConversionException sealed : Exception
public sealed class ConversionException : Exception
Public NotInheritable Class ConversionException
Inherits Exception
Inheritance
ConversionExceptionConversionExceptionConversionException

Constructors

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.

Properties

Error Error Error

Gets the ConversionError that specifies the reason for the exception.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)
ToString() ToString() ToString()

Provides a string representation of the exception.

Applies to