Class
ResourceAlreadyExistsException

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:

cs-api-definition
public class ResourceAlreadyExistsException : Exception

Inheritance: objectExceptionResourceAlreadyExistsException

Constructors

ResourceAlreadyExistsException()

Initializes a new instance of the ResourceAlreadyExistsException class.

Declaration

cs-api-definition
public ResourceAlreadyExistsException()

ResourceAlreadyExistsException(SerializationInfo, StreamingContext)

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

Declaration

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

ResourceAlreadyExistsException(string)

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

Declaration

cs-api-definition
public ResourceAlreadyExistsException(string message)

Parameters

message

string

The message that describes the error.

ResourceAlreadyExistsException(string, Exception)

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.

Declaration

cs-api-definition
public ResourceAlreadyExistsException(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.