Class
DuplicatedJavaScriptNameException

Thrown when adding document JavaScript with a name that already exists in the PDF’s JavaScript name dictionary.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Exceptions

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class DuplicatedJavaScriptNameException : Exception, ISerializable, _Exception

Inheritance: objectExceptionDuplicatedJavaScriptNameException

Implements: ISerializable_Exception

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

Constructors

DuplicatedJavaScriptNameException()

Initializes a new instance of the DuplicatedJavaScriptNameException class.

Declaration

cs-api-definition
public DuplicatedJavaScriptNameException()

DuplicatedJavaScriptNameException(SerializationInfo, StreamingContext)

Initializes a new instance of the DuplicatedJavaScriptNameException class.

Declaration

cs-api-definition
protected DuplicatedJavaScriptNameException(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.

DuplicatedJavaScriptNameException(string)

Initializes a new instance of the DuplicatedJavaScriptNameException class.

Declaration

cs-api-definition
public DuplicatedJavaScriptNameException(string message)

Parameters

message

string

The message that describes the error.

DuplicatedJavaScriptNameException(string, Exception)

Initializes a new instance of the DuplicatedJavaScriptNameException class.

Declaration

cs-api-definition
public DuplicatedJavaScriptNameException(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)