CollectorException 构造函数 (String, Exception)
Creates a collection object and passes the error message and the exception that is causing the error.
命名空间: Microsoft.SqlServer.Management.Collector
程序集: Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)
语法
声明
Public Sub New ( _
message As String, _
innerException As Exception _
)
用法
Dim message As String
Dim innerException As Exception
Dim instance As New CollectorException(message, _
innerException)
public CollectorException(
string message,
Exception innerException
)
public:
CollectorException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> CollectorException
public function CollectorException(
message : String,
innerException : Exception
)
参数
- message
类型:System. . :: . .String
A String value that is the error message.
- innerException
类型:System. . :: . .Exception
A Exception that is a throwing exception.
注释
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.