NSException Constructor (String, Exception)
Initializes a new instance of the NSException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerEx As Exception _
)
public NSException (
string message,
Exception innerEx
)
public:
NSException (
String^ message,
Exception^ innerEx
)
public NSException (
String message,
Exception innerEx
)
public function NSException (
message : String,
innerEx : Exception
)
Parameter
- message
The error message that explains the reason for the exception.
- innerEx
The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.
Plattformen
Entwicklungsplattformen
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Zielplattforme
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Siehe auch
Verweis
NSException Class
NSException Members
Microsoft.SqlServer.NotificationServices Namespace