SPDuplicateObjectException 成员

表示所创建的对象具有相同的属性作为另一个对象时引发的异常。

SPDuplicateObjectException 类型公开以下成员。

构造函数

  名称 说明
公共方法 SPDuplicateObjectException() SPDuplicateObjectException 类的新实例进行初始化。
公共方法 SPDuplicateObjectException(String) 基于指定的错误字符串SPDuplicateObjectException类的新实例进行初始化。
公共方法 SPDuplicateObjectException(String, Exception) 根据指定的错误字符串和异常的SPDuplicateObjectException类的新实例进行初始化。

页首

属性

  名称 说明
公共属性 Data (从 Exception 继承。)
公共属性 HelpLink (从 Exception 继承。)
受保护的属性 HResult (从 Exception 继承。)
公共属性 InnerException (从 Exception 继承。)
公共属性 Message (从 ArgumentException 继承。)
公共属性 ParamName (从 ArgumentException 继承。)
公共属性 Source (从 Exception 继承。)
公共属性 StackTrace (从 Exception 继承。)
公共属性 TargetSite (从 Exception 继承。)

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 GetBaseException (从 Exception 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetObjectData (从 ArgumentException 继承。)
公共方法 GetType (从 Exception 继承。)
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Exception 继承。)

页首

另请参阅

引用

SPDuplicateObjectException 类

Microsoft.SharePoint.Administration 命名空间