RegisteredServerException 构造函数 (String, Exception)
Initializes an instance of the RegisteredServerException class with the specified message and inner exception.
命名空间: Microsoft.SqlServer.Management.RegisteredServers
程序集: Microsoft.SqlServer.Management.RegisteredServers(在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)
语法
声明
Public Sub New ( _
message As String, _
innerException As Exception _
)
用法
Dim message As String
Dim innerException As Exception
Dim instance As New RegisteredServerException(message, _
innerException)
public RegisteredServerException(
string message,
Exception innerException
)
public:
RegisteredServerException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> RegisteredServerException
public function RegisteredServerException(
message : String,
innerException : Exception
)
参数
- message
类型:System.String
A String value specifying the message for the exception.
- innerException
类型:System.Exception
A Exception object specifying the inner exception.