共用方式為


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 命名空間