New to Telerik ReportingStart a free 30-day trial

The exception that is thrown when a resource name is not valid for resource operations within the WebReportDesigner storage system.

Definition

Namespace:Telerik.WebReportDesigner.Services

Assembly:Telerik.WebReportDesigner.Services.dll

Syntax:

C#
public class InvalidResourceNameException : Exception

Inheritance: objectExceptionInvalidResourceNameException

Derived Classes: InvalidFolderNameExceptionInvalidReportNameExceptionInvalidSharedDataSourceNameException

Constructors

Initializes a new instance of the InvalidResourceNameException class.

C#
public InvalidResourceNameException()

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

C#
protected InvalidResourceNameException(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 InvalidResourceNameException class with a specified error message and a reference to the inner exception that is the cause of this exception.

C#
public InvalidResourceNameException(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 InvalidResourceNameException class with a specified error message.

C#
public InvalidResourceNameException(string message)
Parameters:messagestring

The message that describes the error.