ConversionException ConversionException ConversionException ConversionException Class

Definition

An exception that is thrown when a conversion fails.

public ref class ConversionException sealed : Exception
[Serializable]
public sealed class ConversionException : Exception
type ConversionException = class
    inherit Exception
Public NotInheritable Class ConversionException
Inherits Exception
Inheritance
ConversionExceptionConversionExceptionConversionExceptionConversionException
Attributes
SerializableAttribute

Constructors

ConversionException() ConversionException() ConversionException() ConversionException()

Initializes a new instance of the ConversionException class.

ConversionException(String) 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) 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 Error

Gets the ConversionError that specifies the reason for the exception.

Methods

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

Provides a string representation of the exception.

Applies to