Class ContentControlBindingException
- Namespace
- DocWright.Dom.ContentControls
- Assembly
- DocWright.Dom.dll
Thrown when a content control's data binding uses an XPath construct outside the supported subset, or names a custom XML part or node that cannot be resolved.
The exception names the construct. A binding engine that guessed at an expression it did not understand would read or overwrite the wrong node, and the document would still look correct — which is why this is loud rather than silent.
public sealed class ContentControlBindingException : DocWrightException, ISerializable
- Inheritance
-
ContentControlBindingException
- Implements
- Inherited Members
Constructors
- ContentControlBindingException()
Initializes the exception.
- ContentControlBindingException(string)
Initializes the exception with a message.
- ContentControlBindingException(string, Exception?)
Initializes the exception with a message and an inner exception.
Methods
- Unsupported(string, string)
Initializes the exception for an unsupported XPath construct.