Class JsonValueIncorrectTypeException
Thrown when a value is accessed via the incorrect type accessor.
Inheritance
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
JsonValueIncorrectTypeException
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
Assembly: Manatee.Json.dll
Syntax
public class JsonValueIncorrectTypeException : InvalidOperationException, ISerializable
Properties
| Improve this Doc View SourceRequestedType
The type requested.
Declaration
public JsonValueType RequestedType { get; }
Property Value
Type | Description |
---|---|
JsonValueType |
ValidType
The correct type for the JsonValue that threw the exception.
Declaration
public JsonValueType ValidType { get; }
Property Value
Type | Description |
---|---|
JsonValueType |
Implements
System.Runtime.Serialization.ISerializable