Class InvalidDocumentException
Represents invalid document exception.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.FormatProviders.Docx.Validation
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class InvalidDocumentException : Exception, ISerializable, _Exception
Constructors
InvalidDocumentException()
Initializes a new instance of the InvalidDocumentException class.
Declaration
public InvalidDocumentException()
InvalidDocumentException(IEnumerable<ValidationError>)
Initializes a new instance of the InvalidDocumentException class.
Declaration
public InvalidDocumentException(IEnumerable<ValidationError> validationErrors)
Parameters
System.Collections.Generic.IEnumerable<ValidationError>
validationErrors
The validation errors. |
InvalidDocumentException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidDocumentException class.
Declaration
protected InvalidDocumentException(SerializationInfo info, StreamingContext context)
Parameters
System.Runtime.Serialization.SerializationInfo
info
The info. |
System.Runtime.Serialization.StreamingContext
context
The context. |
InvalidDocumentException(String)
Initializes a new instance of the InvalidDocumentException class.
Declaration
public InvalidDocumentException(string message)
Parameters
System.String
message
The message. |
InvalidDocumentException(String, Exception)
Initializes a new instance of the InvalidDocumentException class.
Declaration
public InvalidDocumentException(string message, Exception innerException)
Parameters
System.String
message
The message. |
System.Exception
innerException
The inner exception. |
Properties
ValidationErrors
Gets the validation errors.
Declaration
public IEnumerable<ValidationError> ValidationErrors { get; }
Property Value
System.Collections.Generic.IEnumerable<ValidationError>
The validation errors. |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Provides COM objects with version-independent access to the System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) method.
Declaration
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
System.Runtime.Serialization.SerializationInfo
info
The System.Runtime.Serialization.SerializationInfo object that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext
context
The System.Runtime.Serialization.StreamingContext structure that contains contextual information about the source or destination. |