Partager via


Constructeur CollectorException (String, Exception)

Creates a collection object and passes the error message and the exception that is causing the error.

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Utilisation
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
)

Paramètres

Notes

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

Voir aussi

Référence

CollectorException Classe

Surcharge CollectorException

Espace de noms Microsoft.SqlServer.Management.Collector