Class InvalidTypeCastException
Inheritance
System.Object
System.Exception
System.ApplicationException
InvalidTypeCastException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Common
Assembly: Terrasoft.Common.dll
Syntax
public class InvalidTypeCastException : ApplicationException, ISerializable, _Exception
Constructors
InvalidTypeCastException()
Declaration
public InvalidTypeCastException()
InvalidTypeCastException(SerializationInfo, StreamingContext)
Declaration
protected InvalidTypeCastException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
InvalidTypeCastException(String)
Declaration
public InvalidTypeCastException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
InvalidTypeCastException(String, Exception)
Declaration
public InvalidTypeCastException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException |
InvalidTypeCastException(String, Type)
Declaration
public InvalidTypeCastException(string propertyName, Type expectedType)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | |
System.Type | expectedType |
InvalidTypeCastException(Type, Type)
Declaration
public InvalidTypeCastException(Type currentType, Type expectedType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | currentType | |
System.Type | expectedType |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception