New to Telerik UI for WPFStart a free 30-day trial

Definition

Constructors

Default constuctor. Used only for serialisation.

C#
public DomException()

Constructor

C#
public DomException(short code, string message)
Parameters:codeshort

The code.

messagestring

The message

Fields

If the specified range of text does not fit into a DOMString

C#
public const short DomStringSize = 2

If any node is inserted somewhere it doesn't belong

C#
public const short HierarchyRequest = 3

If index or size is negative, or greater than the allowed value

C#
public const short IndexSize = 1

If an attempt is made to add an attribute that is already in use elsewhere

C#
public const short InUseAttribute = 10

If a parameter or an operation is not supported by the underlying object.

C#
public const short InvalidAccess = 15

If an invalid or illegal character is specified, such as in a name. See production 2 in the XML specification for the definition of a legal character, and production 5 for the definition of a legal name character.

C#
public const short InvalidCharacter = 5

If an attempt is made to modify the type of the underlying object.

C#
public const short InvalidModification = 13

If an attempt is made to use an object that is not, or is no longer, usable.

C#
public const short InvalidState = 11

If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces.

C#
public const short Namespace = 14

If data is specified for a node which does not support data

C#
public const short NoDataAllowed = 6

If an attempt is made to modify an object where modifications are not allowed

C#
public const short NoModificationAllowed = 7

If an attempt is made to reference a node in a context where it does not exist

C#
public const short NotFound = 8

If the implementation does not support the requested type of object or operation.

C#
public const short NotSupported = 9

If an invalid or illegal string is specified.

C#
public const short Syntax = 12

If a node is used in a different document than the one that created it (that doesn't support it)

C#
public const short WrongDocument = 4

Properties

The error code.

C#
public short Code { get; set; }