Compartilhar via


SPDuplicateValuesFoundException members

Include protected members
Include inherited members

Exceção a ser gerada se e somente se forem encontrados valores duplicados ao inserir e atualizar itens/documentos em uma biblioteca de documentos/lista.

The SPDuplicateValuesFoundException type exposes the following members.

Constructors

  Name Description
Public method SPDuplicateValuesFoundException() Inicializa uma nova instância da classe [Microsoft.SharePoint.SPDuplicateValuesFoundException] .
Public method SPDuplicateValuesFoundException(String) Inicializa uma nova instância da classe [Microsoft.SharePoint.SPDuplicateValuesFoundException] usando a mensagem de erro especificado.
Protected method SPDuplicateValuesFoundException(SerializationInfo, StreamingContext) Inicializa uma nova instância da classe [Microsoft.SharePoint.SPDuplicateValuesFoundException] com base em dados de serialização especificado e o contexto de fluxo.
Public method SPDuplicateValuesFoundException(String, Exception) Inicializa uma nova instância da classe de exceção [Microsoft.SharePoint.SPDuplicateValuesFoundException] usando a mensagem de erro especificada e uma exceção interna que é a causa da exceção atual.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorCode Obtém um inteiro que identifica a exceção. (Inherited from SPException.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property NativeErrorMessage Obtém a mensagem de erro de código nativo que está associada este objeto de SPException . (Inherited from SPException.)
Public property NativeStackTrace Obtém o rastreamento de pilha de código nativo associado a este objeto de SPException . (Inherited from SPException.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)
Public property UniqueFieldsWithDuplicateValues Obtém os IDs de exclusivos campos na lista com valores duplicados.

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 Salva informações sobre a exceção para serialização. (Overrides SPException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Ver também

Referência

SPDuplicateValuesFoundException class

Microsoft.SharePoint namespace