Class
TargetIsSameAsDestinationException

The exception that is thrown when attempting to rename a resource or resource folder with the same name, or when moving a resource or resource folder to the same parent folder where it already exists.

Definition

Namespace:Telerik.WebReportDesigner.Services

Assembly:Telerik.WebReportDesigner.Services.dll

Syntax:

cs-api-definition
public class TargetIsSameAsDestinationException : Exception

Inheritance: objectExceptionTargetIsSameAsDestinationException

Constructors

TargetIsSameAsDestinationException()

Initializes a new instance of the TargetIsSameAsDestinationException class.

Declaration

cs-api-definition
public TargetIsSameAsDestinationException()

TargetIsSameAsDestinationException(SerializationInfo, StreamingContext)

Initializes a new instance of the TargetIsSameAsDestinationException class with serialized data.

Declaration

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

TargetIsSameAsDestinationException(string)

Initializes a new instance of the TargetIsSameAsDestinationException class with a specified error message.

Declaration

cs-api-definition
public TargetIsSameAsDestinationException(string message)

Parameters

message

string

The message that describes the error.

TargetIsSameAsDestinationException(string, Exception)

Initializes a new instance of the TargetIsSameAsDestinationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Declaration

cs-api-definition
public TargetIsSameAsDestinationException(string message, Exception inner)

Parameters

message

string

The message that describes the error.

inner

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.