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
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
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