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.
Inheritance
Namespace: Telerik.WebReportDesigner.Services
Assembly: Telerik.WebReportDesigner.Services.dll
Syntax
public class TargetIsSameAsDestinationException : Exception, ISerializable, _Exception
Constructors
TargetIsSameAsDestinationException()
Initializes a new instance of the TargetIsSameAsDestinationException class.
Declaration
public TargetIsSameAsDestinationException()
TargetIsSameAsDestinationException(SerializationInfo, StreamingContext)
Initializes a new instance of the TargetIsSameAsDestinationException class with serialized data.
Declaration
protected TargetIsSameAsDestinationException(SerializationInfo info, StreamingContext context)
Parameters
|
System.Runtime.Serialization.SerializationInfo
info
The SerializationInfo that holds the serialized object data about the exception being thrown. |
|
System.Runtime.Serialization.StreamingContext
context
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
public TargetIsSameAsDestinationException(string message)
Parameters
|
System.String
message
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
public TargetIsSameAsDestinationException(string message, Exception inner)
Parameters
|
System.String
message
The message that describes the error. |
|
System.Exception
inner
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |