Costruttore CollectorException (String, Exception)
Crea un oggetto raccolta e passa il messaggio di errore e l'eccezione che causano l'errore.
Spazio dei nomi Microsoft.SqlServer.Management.Collector
Assembly: Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Utilizzo
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
)
Parametri
- message
Tipo: System. . :: . .String
Valore String che costituisce il messaggio di errore.
- innerException
Tipo: System. . :: . .Exception
Exception che costituisce un'eccezione generata.
Osservazioni
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Vedere anche