Class InvalidTypeException
Exception that is thrown when the driver expected a type and other was provided
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Dse
Assembly: Dse.dll
Syntax
public class InvalidTypeException : DriverException, ISerializable
Constructors
InvalidTypeException(String)
Declaration
public InvalidTypeException(string msg)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg |
InvalidTypeException(String, Exception)
Declaration
public InvalidTypeException(string msg, Exception cause)
Parameters
Type | Name | Description |
---|---|---|
System.String | msg | |
System.Exception | cause |
InvalidTypeException(String, Object, Object[])
Declaration
public InvalidTypeException(string paramName, object receivedType, object[] expectedType)
Parameters
Type | Name | Description |
---|---|---|
System.String | paramName | |
System.Object | receivedType | |
System.Object[] | expectedType |
Properties
ExpectedType
Declaration
public object[] ExpectedType { get; }
Property Value
Type | Description |
---|---|
System.Object[] |
ParamName
Declaration
public string ParamName { get; }
Property Value
Type | Description |
---|---|
System.String |
ReceivedType
Declaration
public object ReceivedType { get; }
Property Value
Type | Description |
---|---|
System.Object |
Implements
System.Runtime.Serialization.ISerializable