Partilhar via


SPInvalidLookupValuesException Members

Include Protected Members
Include Inherited Members

This exception should be thrown if and only if invalid lookup values are found while inserting or updating items/documents in a list/document library.

The SPInvalidLookupValuesException type exposes the following members.

Constructors

  Name Description
Public method SPInvalidLookupValuesException() Initializes a new instance of the SPInvalidLookupValuesException class.
Public method SPInvalidLookupValuesException(String) Initializes a new instance of the SPInvalidLookupValuesException class with a specified error message.
Protected method SPInvalidLookupValuesException(SerializationInfo, StreamingContext) Initializes a new instance of the SPInvalidLookupValuesException class with serialized data.
Public method SPInvalidLookupValuesException(String, Exception) Initializes a new instance of the SPInvalidLookupValuesException class with a specified error message and an inner exception that is the cause of this exception.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorCode Gets an integer that identifies the exception. (Inherited from SPException.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property LookupFieldsWithInvalidValues Retrieves a collection of Unique Field identifiers from the list with duplicate values.
Public property Message (Inherited from Exception.)
Public property NativeErrorMessage Gets the native code error message that is associated with this SPException object. (Inherited from SPException.)
Public property NativeStackTrace Gets the native code stack trace associated with this SPException object. (Inherited from SPException.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Saves information about the exception for serialization. (Overrides SPException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

See Also

Reference

SPInvalidLookupValuesException Class

Microsoft.SharePoint Namespace