New to Telerik ReportingStart a free 30-day trial

The exception that is thrown when attempting to save, move, or rename a resource would result in overwriting an existing resource in the storage system.

Definition

Namespace:Telerik.WebReportDesigner.Services

Assembly:Telerik.WebReportDesigner.Services.dll

Syntax:

C#
public class ResourceAlreadyExistsException : Exception

Inheritance: objectExceptionResourceAlreadyExistsException

Constructors

Initializes a new instance of the ResourceAlreadyExistsException class.

C#
public ResourceAlreadyExistsException()

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

C#
protected ResourceAlreadyExistsException(SerializationInfo info, StreamingContext context)
Parameters:infoSerializationInfo

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

contextStreamingContext

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

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

C#
public ResourceAlreadyExistsException(string message, Exception inner)
Parameters:messagestring

The message that describes the error.

innerException

The 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 ResourceAlreadyExistsException class with a specified error message.

C#
public ResourceAlreadyExistsException(string message)
Parameters:messagestring

The message that describes the error.