CollectorException 构造函数 (String, Exception)
创建集合对象,并传递错误消息和导致该错误的异常。
命名空间: 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
一个作为错误消息的 String 值。
- innerException
类型:System. . :: . .Exception
一个作为引发异常的 Exception。
注释
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.