SPDuplicateValuesFoundException Members
Include Protected Members
Include Inherited Members
Exception to throw if and only if duplicate values are found while inserting or updating items/documents in a list/document library.
The SPDuplicateValuesFoundException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SPDuplicateValuesFoundException() | Initializes a new instance of the [Microsoft.SharePoint.SPDuplicateValuesFoundException] class. |
![]() |
SPDuplicateValuesFoundException(String) | Initializes a new instance of the [Microsoft.SharePoint.SPDuplicateValuesFoundException] class using the specified error message. |
![]() |
SPDuplicateValuesFoundException(SerializationInfo, StreamingContext) | Initializes a new instance of the [Microsoft.SharePoint.SPDuplicateValuesFoundException] class based on the specified serialization data and the stream context. |
![]() |
SPDuplicateValuesFoundException(String, Exception) | Initializes a new instance of the [Microsoft.SharePoint.SPDuplicateValuesFoundException] exception class using the specified error message and inner exception that is the cause of the current exception. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Data | (Inherited from Exception.) |
![]() |
ErrorCode | Gets an integer that identifies the exception. (Inherited from SPException.) |
![]() |
HelpLink | (Inherited from Exception.) |
![]() |
HResult | (Inherited from Exception.) |
![]() |
InnerException | (Inherited from Exception.) |
![]() |
Message | (Inherited from Exception.) |
![]() |
NativeErrorMessage | Gets the native code error message that is associated with this SPException object. (Inherited from SPException.) |
![]() |
NativeStackTrace | Gets the native code stack trace associated with this SPException object. (Inherited from SPException.) |
![]() |
Source | (Inherited from Exception.) |
![]() |
StackTrace | (Inherited from Exception.) |
![]() |
TargetSite | (Inherited from Exception.) |
![]() |
UniqueFieldsWithDuplicateValues | Gets the IDs of Unique Fields in the list with duplicate values. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetBaseException | (Inherited from Exception.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetObjectData | Saves information about the exception for serialization. (Overrides SPException.GetObjectData(SerializationInfo, StreamingContext).) |
![]() |
GetType | (Inherited from Exception.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Exception.) |
Top