Constructor DuplicateNotAllowedException
DuplicateNotAllowedException()
Create a simple exception with no further explanation.
Declaration
public DuplicateNotAllowedException()
DuplicateNotAllowedException(String)
Create the exception with an explanation of the reason.
Declaration
public DuplicateNotAllowedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
DuplicateNotAllowedException(SerializationInfo, StreamingContext)
Initializes a new instance of this class with serialized data.
Declaration
public DuplicateNotAllowedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The |
StreamingContext | context | The |