ClassRtfUnexpectedElementException
Thrown when RTF import encounters an unexpected element type where a specific element was required.
Definition
Namespace:Telerik.Windows.Documents.Flow.FormatProviders.Rtf.Exceptions
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public class RtfUnexpectedElementException : RtfException, ISerializable
Inheritance: objectExceptionRtfExceptionRtfUnexpectedElementException
Implements:
Inherited Members
Constructors
RtfUnexpectedElementException()
Initializes a new instance of the RtfUnexpectedElementException class.
Declaration
public RtfUnexpectedElementException()
RtfUnexpectedElementException(SerializationInfo, StreamingContext)
Initializes a new instance of the RtfUnexpectedElementException class.
Declaration
protected RtfUnexpectedElementException(SerializationInfo info, StreamingContext context)
Parameters
info
The info.
context
The context.
RtfUnexpectedElementException(string)
Initializes a new instance of the RtfUnexpectedElementException class.
Declaration
public RtfUnexpectedElementException(string message)
Parameters
message
The message.
RtfUnexpectedElementException(string, Exception)
Initializes a new instance of the RtfUnexpectedElementException class.
RtfUnexpectedElementException(string, string)
Initializes a new instance of the RtfUnexpectedElementException class.
RtfUnexpectedElementException(string, string, string)
Initializes a new instance of the RtfUnexpectedElementException class.
Properties
Actual
Gets the actual element type or value that was encountered at the parsing location.
Methods
GetObjectData(SerializationInfo, StreamingContext)
Populates a SerializationInfo with the data needed to serialize the target object.
Declaration
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
The SerializationInfo to populate with data.
context
The destination (see StreamingContext) for this serialization.
Exceptions
The caller does not have the required permission.
Overrides