SharePointCommandException 构造函数 (String, String, String, String)

使用指定的错误消息、完整类型名称和原始堆栈跟踪来初始化 SharePointCommandException 类的新实例。

命名空间:  Microsoft.VisualStudio.SharePoint
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)

语法

声明
Public Sub New ( _
    message As String, _
    commandId As String, _
    fullTypeName As String, _
    originalStackTrace As String _
)
public SharePointCommandException(
    string message,
    string commandId,
    string fullTypeName,
    string originalStackTrace
)

参数

  • message
    类型:System.String
    解释异常原因的错误消息。
  • commandId
    类型:System.String
    引发异常的命令的 ID。
  • fullTypeName
    类型:System.String
    引发异常的命令类的完整类型名称。
  • originalStackTrace
    类型:System.String
    vssphost4.exe 进程中异常的原始堆栈跟踪。

.NET Framework 安全性

请参见

参考

SharePointCommandException 类

SharePointCommandException 重载

Microsoft.VisualStudio.SharePoint 命名空间