Namespace: Json.Schema
Inheritance: RefResolutionException 🡒 JsonSchemaException 🡒 Exception 🡒 object
Implemented interfaces:
- ISerializable
Thrown when a reference cannot be resolved.
Properties
| Name | Type | Summary |
|---|---|---|
| Anchor | string | Gets an anchor, if one exists. |
| BaseUri | Uri | Gets the base URI of the reference. |
| Data | IDictionary | Â |
| HelpLink | string | Â |
| HResult | int | Â |
| InnerException | Exception | Â |
| IsDynamic | bool | Gets whether the anchor (if one exists) is dynamic. |
| Location | JsonPointer | Gets a JSON Pointer, if one exists. |
| Message | string | Â |
| Source | string | Â |
| StackTrace | string | Â |
| TargetSite | MethodBase | Â |
Constructors
RefResolutionException(Uri baseUri, JsonPointer location)
Creates a new instance.
Declaration
1
public RefResolutionException(Uri baseUri, JsonPointer location)
| Parameter | Type | Description |
|---|---|---|
| baseUri | Uri | The base URI of the reference. |
| location | JsonPointer | The JSON Pointer location. |
RefResolutionException(Uri baseUri, string anchor, bool isDynamic)
Creates a new instance.
Declaration
1
public RefResolutionException(Uri baseUri, string anchor, bool isDynamic)
| Parameter | Type | Description |
|---|---|---|
| baseUri | Uri | The base URI of the reference. |
| anchor | string | (optional) - The anchor. Default is null. |
| isDynamic | bool | (optional) - Whether the reference was dynamic. |