共用方式為


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