Udostępnij przez


Konstruktor CollectorException (String, Exception)

Tworzy obiekt kolekcja i przekazuje komunikat o błędzie i wyjątek, który jest przyczyną błędu.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Collector
Zestaw:  Microsoft.SqlServer.Management.Collector (w Microsoft.SqlServer.Management.Collector.dll)

Składnia

'Deklaracja
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Użycie
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
)

Parametry

Uwagi

Ten obszar nazw, klasy lub element członkowski jest obsługiwany tylko w wersja 2.0 Microsoft .NET Framework.