Class
InvalidObjectReferenceException

Thrown when a PDF object reference is invalid during import or processing. This occurs when a structure element's object reference points to an unrecognized object type.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Exceptions

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class InvalidObjectReferenceException : Exception, ISerializable

Inheritance: objectExceptionInvalidObjectReferenceException

Implements: ISerializable

Inherited Members Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.TargetSiteException.MessageException.DataException.InnerExceptionException.HelpLinkException.SourceException.HResultException.StackTraceException.SerializeObjectState

Constructors

InvalidObjectReferenceException()

Initializes a new instance of the InvalidObjectReferenceException class.

Declaration

cs-api-definition
public InvalidObjectReferenceException()

InvalidObjectReferenceException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidObjectReferenceException class.

Declaration

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

Parameters

info

SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context

StreamingContext

The StreamingContext that contains contextual information about the source or destination.

InvalidObjectReferenceException(string)

Initializes a new instance of the InvalidObjectReferenceException class.

Declaration

cs-api-definition
public InvalidObjectReferenceException(string message)

Parameters

message

string

The message that describes the error.

InvalidObjectReferenceException(string, Exception)

Initializes a new instance of the InvalidObjectReferenceException class.

Declaration

cs-api-definition
public InvalidObjectReferenceException(string message, Exception innerException)

Parameters

message

string

The message that describes the error.

innerException

Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Provides COM objects with version-independent access to the GetObjectData(SerializationInfo, StreamingContext) method.

Declaration

cs-api-definition
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info

SerializationInfo

The SerializationInfo object that holds the serialized object data about the exception being thrown.

context

StreamingContext

The StreamingContext structure that contains contextual information about the source or destination.

Overrides Exception.GetObjectData(SerializationInfo, StreamingContext)