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:
public class TargetIsSameAsDestinationException : Exception
Inheritance: objectExceptionTargetIsSameAsDestinationException
Constructors
Initializes a new instance of the TargetIsSameAsDestinationException class.
public TargetIsSameAsDestinationException()
Initializes a new instance of the TargetIsSameAsDestinationException class with serialized data.
protected TargetIsSameAsDestinationException(SerializationInfo info, StreamingContext context)
The SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
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.
public TargetIsSameAsDestinationException(string message, Exception inner)
The message that describes the error.
innerExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
Initializes a new instance of the TargetIsSameAsDestinationException class with a specified error message.
public TargetIsSameAsDestinationException(string message)
The message that describes the error.