Class
RtfEncodingException

Thrown when RTF import encounters unsupported character encodings or invalid byte sequences.

Definition

Constructors

RtfEncodingException()

Initializes a new instance of the RtfEncodingException class.

Declaration

cs-api-definition
public RtfEncodingException()

RtfEncodingException(SerializationInfo, StreamingContext)

Initializes a new instance of the RtfEncodingException class.

Declaration

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

Parameters

info

SerializationInfo

The info.

context

StreamingContext

The context.

RtfEncodingException(string)

Initializes a new instance of the RtfEncodingException class.

Declaration

cs-api-definition
public RtfEncodingException(string message)

Parameters

message

string

The message.

RtfEncodingException(string, Exception)

Initializes a new instance of the RtfEncodingException class.

Declaration

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

Parameters

message

string

The message.

cause

Exception

The cause.