SPUpgradeException 构造函数 (String, Exception)
初始化使用指定的错误消息和根SPUpgradeException类的一个新实例会导致异常。
命名空间: Microsoft.SharePoint.Upgrade
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub New ( _
msg As String, _
rootCause As Exception _
)
用法
Dim msg As String
Dim rootCause As Exception
Dim instance As New SPUpgradeException(msg, rootCause)
public SPUpgradeException(
string msg,
Exception rootCause
)
参数
msg
类型:System.String一个字符串,包含的消息。
rootCause
类型:System.ExceptionSystem.Exception对象,该对象表示的异常。