SharePointCommandException 构造函数

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

初始化 SharePointCommandException 类的新实例。

重载此成员。有关此成员的完整信息(包括语法、用法和示例),请单击重载列表中的相应名称。

重载列表

  名称 说明
公共方法 SharePointCommandException() 初始化 SharePointCommandException 类的新实例。
公共方法 SharePointCommandException(String) 使用指定的错误消息初始化 SharePointCommandException 类的新实例。
受保护的方法 SharePointCommandException(SerializationInfo, StreamingContext) 用序列化数据初始化 SharePointCommandException 类的新实例。
公共方法 SharePointCommandException(String, Exception) 使用指定的错误消息和对导致该异常的内部异常的引用来初始化 SharePointCommandException 类的新实例。
公共方法 SharePointCommandException(String, String, String, String) 使用指定的错误消息、完整类型名称和原始堆栈跟踪来初始化 SharePointCommandException 类的新实例。
公共方法 SharePointCommandException(String, String, String, String, Exception) 使用指定的错误消息、完整类型名称、原始堆栈跟踪和对导致该异常的内部异常的引用来初始化 SharePointCommandException 类的新实例。

页首

请参见

参考

SharePointCommandException 类

Microsoft.VisualStudio.SharePoint 命名空间