Class DuplicateGadgetNameException
Duplicate gadget name found
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Shell.Gadgets
Assembly: EPiServer.Shell.dll
Version: 7.19.2Syntax
public class DuplicateGadgetNameException : Exception, ISerializable, _Exception
Constructors
DuplicateGadgetNameException()
Initializes a new instance of the DuplicateGadgetNameException class.
Declaration
public DuplicateGadgetNameException()
DuplicateGadgetNameException(SerializationInfo, StreamingContext)
Initializes a new instance of the DuplicateGadgetNameException class.
Declaration
protected DuplicateGadgetNameException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
System.Runtime.Serialization.SerializationException | The class name is null or System.Exception.HResult is zero (0). |
DuplicateGadgetNameException(String)
Initializes a new instance of the DuplicateGadgetNameException class.
Declaration
public DuplicateGadgetNameException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
DuplicateGadgetNameException(String, Exception)
Initializes a new instance of the DuplicateGadgetNameException class.
Declaration
public DuplicateGadgetNameException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Exception | innerException | The inner exception. |