共用方式為


RegisteredServerException 建構函式 (String, Exception)

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

命名空間:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
組件:  Microsoft.SqlServer.RegSvrEnum (在 Microsoft.SqlServer.RegSvrEnum.dll 中)

語法

'宣告
Public Sub New ( _
    message As String, _
    previous As Exception _
)
'用途
Dim message As String 
Dim previous As Exception 

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

參數

  • message
    型別:System.String
    A String value that specifies the message string for the Registered Server exception.
  • previous
    型別:System.Exception
    An Exception object that specifies the inner exception for the Registered Server exception.

請參閱

參考

RegisteredServerException 類別

RegisteredServerException 多載

Microsoft.SqlServer.Management.Smo.RegSvrEnum 命名空間