Class UniqueIndexViolationException
The exception that is thrown when a unique index violation occurs from a data source.
Inheritance
System.Object
System.Exception
UniqueIndexViolationException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
Namespace: Cuemon.Data
Assembly: Cuemon.Data.dll
Syntax
public class UniqueIndexViolationException : Exception
Constructors
| Improve this DocUniqueIndexViolationException()
Initializes a new instance of the UniqueIndexViolationException class.
Declaration
public UniqueIndexViolationException()
UniqueIndexViolationException(String)
Initializes a new instance of the UniqueIndexViolationException class.
Declaration
public UniqueIndexViolationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
UniqueIndexViolationException(String, Exception)
Initializes a new instance of the UniqueIndexViolationException class.
Declaration
public UniqueIndexViolationException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |