Home RefResolutionException Class
RefResolutionException Class
Cancel

RefResolutionException Class

Namespace: Json.Schema

Inheritance: RefResolutionException 🡒 JsonSchemaException 🡒 Exception 🡒 object

Implemented interfaces:

  • ISerializable

Thrown when a reference cannot be resolved.

Properties

NameTypeSummary
AnchorstringGets an anchor, if one exists.
BaseUriUriGets the base URI of the reference.
DataIDictionary 
HelpLinkstring 
HResultint 
InnerExceptionException 
IsDynamicboolGets whether the anchor (if one exists) is dynamic.
LocationJsonPointerGets a JSON Pointer, if one exists.
Messagestring 
Sourcestring 
StackTracestring 
TargetSiteMethodBase 

Constructors

RefResolutionException(Uri baseUri, JsonPointer location)

Creates a new instance.

Declaration

1
public RefResolutionException(Uri baseUri, JsonPointer location)
ParameterTypeDescription
baseUriUriThe base URI of the reference.
locationJsonPointerThe JSON Pointer location.

RefResolutionException(Uri baseUri, string anchor, bool isDynamic)

Creates a new instance.

Declaration

1
public RefResolutionException(Uri baseUri, string anchor, bool isDynamic)
ParameterTypeDescription
baseUriUriThe base URI of the reference.
anchorstring(optional) - The anchor. Default is null.
isDynamicbool(optional) - Whether the reference was dynamic.
Contents