Skip to main content

InvalidConversionException

Used for invalid conversions, e.g. from Rational.PlusInfinity to decimal.

public class InvalidConversionException : System.Exception, System.Runtime.Serialization.ISerializable

Inheritance ObjectExceptionInvalidConversionException
Implements ISerializable

Properties

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

public string Message { get; }

Property Value

String

Data

public IDictionary Data { get; }

Property Value

IDictionary

InnerException

public Exception InnerException { get; }

Property Value

Exception

public string HelpLink { get; set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

HResult

public int HResult { get; set; }

Property Value

Int32

StackTrace

public string StackTrace { get; }

Property Value

String

Constructors

InvalidConversionException()

public InvalidConversionException()

InvalidConversionException(String)

public InvalidConversionException(string message)

Parameters

message String

InvalidConversionException(String, Exception)

public InvalidConversionException(string message, Exception innerException)

Parameters

message String

innerException Exception