Class
RtfStructureException

Thrown when RTF import encounters invalid document structure, such as incorrect nesting or missing required elements.

Definition

Constructors

RtfStructureException()

Initializes a new instance of the RtfStructureException class.

Declaration

cs-api-definition
public RtfStructureException()

RtfStructureException(SerializationInfo, StreamingContext)

Initializes a new instance of the RtfStructureException class.

Declaration

cs-api-definition
protected RtfStructureException(SerializationInfo info, StreamingContext context)

Parameters

info

SerializationInfo

The info.

context

StreamingContext

The context.

RtfStructureException(string)

Initializes a new instance of the RtfStructureException class.

Declaration

cs-api-definition
public RtfStructureException(string message)

Parameters

message

string

The message.

RtfStructureException(string, Exception)

Initializes a new instance of the RtfStructureException class.

Declaration

cs-api-definition
public RtfStructureException(string message, Exception cause)

Parameters

message

string

The message.

cause

Exception

The cause.