SPDuplicateValuesFoundException 成员

SPDuplicateValuesFoundException 类型公开以下成员。

构造函数

  名称 说明
公共方法 SPDuplicateValuesFoundException() 初始化[Microsoft.SharePoint.SPDuplicateValuesFoundException]类的新实例。
公共方法 SPDuplicateValuesFoundException(String) 初始化使用指定的错误消息的[Microsoft.SharePoint.SPDuplicateValuesFoundException]类的新实例。
受保护的方法 SPDuplicateValuesFoundException(SerializationInfo, StreamingContext) 初始化基于指定的序列化数据和流上下文的[Microsoft.SharePoint.SPDuplicateValuesFoundException]类的新实例。
公共方法 SPDuplicateValuesFoundException(String, Exception) 初始化使用指定的错误消息和内部异常的当前异常的原因的[Microsoft.SharePoint.SPDuplicateValuesFoundException]异常类的新实例。

页首

属性

  名称 说明
公共属性 Data (从 Exception 继承。)
公共属性 ErrorCode 获取一个整数,标识该异常。 (从 SPException 继承。)
公共属性 HelpLink (从 Exception 继承。)
受保护的属性 HResult (从 Exception 继承。)
公共属性 InnerException (从 Exception 继承。)
公共属性 Message (从 Exception 继承。)
公共属性 NativeErrorMessage 获取与此SPException对象关联的本机代码错误消息。 (从 SPException 继承。)
公共属性 NativeStackTrace 获取与此SPException对象关联的本机代码堆栈跟踪。 (从 SPException 继承。)
公共属性 Source (从 Exception 继承。)
公共属性 StackTrace (从 Exception 继承。)
公共属性 TargetSite (从 Exception 继承。)
公共属性 UniqueFieldsWithDuplicateValues 获取 Id 的唯一字段中具有重复值的列表。

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 GetBaseException (从 Exception 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetObjectData 保存序列化的异常的信息。 (覆盖 SPException.GetObjectData(SerializationInfo, StreamingContext)。)
公共方法 GetType (从 Exception 继承。)
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Exception 继承。)

页首

另请参阅

引用

SPDuplicateValuesFoundException 类

Microsoft.SharePoint 命名空间