Thrown when a document violates DOCX format validation rules during export; contains detailed validation errors.
Definition
Namespace:Telerik.Windows.Documents.Flow.FormatProviders.Docx.Validation
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public class InvalidDocumentException : Exception, ISerializable
Inheritance: objectExceptionInvalidDocumentException
Implements:
Inherited Members
Constructors
Initializes a new instance of the InvalidDocumentException class.
public InvalidDocumentException()
Initializes a new instance of the InvalidDocumentException class.
public InvalidDocumentException(IEnumerable<ValidationError> validationErrors)
The validation errors.
Initializes a new instance of the InvalidDocumentException class.
protected InvalidDocumentException(SerializationInfo info, StreamingContext context)
The info.
contextStreamingContextThe context.
Initializes a new instance of the InvalidDocumentException class.
Initializes a new instance of the InvalidDocumentException class.
Properties
Gets the collection of validation errors that describe which document structures are non-compliant.
public IEnumerable<ValidationError> ValidationErrors { get; }
The validation errors.
Methods
Provides COM objects with version-independent access to the GetObjectData(SerializationInfo, StreamingContext) method.
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
The SerializationInfo object that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext structure that contains contextual information about the source or destination.
Overrides: