Class TypeInstantiationException
Thrown when a type cannot be instantiated.
Inheritance
System.Object
System.Exception
TypeInstantiationException
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: Manatee.Json.Serialization
Assembly: Manatee.Json.dll
Syntax
public class TypeInstantiationException : Exception, ISerializable
Constructors
| Improve this Doc View SourceTypeInstantiationException(Type)
Creates a new instance of the TypeInstantiationException class.
Declaration
public TypeInstantiationException(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type which could not be instantiated. |
TypeInstantiationException(Type, Exception)
Creates a new instance of the TypeInstantiationException class.
Declaration
public TypeInstantiationException(Type type, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type which could not be instantiated. |
System.Exception | innerException | An exception which caused this to be thrown. |
Implements
System.Runtime.Serialization.ISerializable