SPDatabaseException 构造函数 (String, Exception)

根据指定的错误字符串和异常的SPDatabaseException类的新实例进行初始化。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub New ( _
    error As String, _
    e As Exception _
)
用法
Dim error As String
Dim e As Exception

Dim instance As New SPDatabaseException(error, e)
public SPDatabaseException(
    string error,
    Exception e
)

参数

  • error
    类型:System.String

    一个字符串,其中包含解释异常原因的消息。

另请参阅

引用

SPDatabaseException 类

SPDatabaseException 成员

SPDatabaseException 重载

Microsoft.SharePoint.Administration 命名空间