Share via


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
)

매개 변수

주의

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

참고 항목

참조

CollectorException 클래스

CollectorException 오버로드

Microsoft.SqlServer.Management.Collector 네임스페이스