RestartPendingException 构造函数 (String, Exception)

Initializes a new instance of the RestartPendingException class with the specified message and specified inner exception.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
用法
Dim message As String 
Dim innerException As Exception 

Dim instance As New RestartPendingException(message, _
    innerException)
public RestartPendingException(
    string message,
    Exception innerException
)
public:
RestartPendingException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> RestartPendingException
public function RestartPendingException(
    message : String, 
    innerException : Exception
)

参数

  • message
    类型:System.String
    A String value that specifies the message text that is associated with the restart pending exception.
  • innerException
    类型:System.Exception
    An Exception system object value that specifies the exception that caused the restart pending exception.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

示例

处理 SMO 异常

请参阅

参考

RestartPendingException 类

RestartPendingException 重载

Microsoft.SqlServer.Management.Dmf 命名空间