SPCmdletException 成员

包括受保护的成员
包括继承的成员

使用本地化的字符串,而不是硬编码字符串的异常类。

SPCmdletException 类型公开以下成员。

构造函数

  名称 说明
公共方法 SPCmdletException(String) 创建SPCmdletException类的一个新实例。
受保护的方法 SPCmdletException(SerializationInfo, StreamingContext) 创建SPCmdletException类的一个新实例。
公共方法 SPCmdletException(String, Exception) 创建SPCmdletException类的一个新实例。

页首

属性

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

页首

方法

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

页首

另请参阅

引用

SPCmdletException 类

Microsoft.SharePoint.PowerShell 命名空间