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 object → Exception → InvalidConversionException
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​

int

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