Jaa


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
)

Parameters

  • 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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

NSException Class
NSException Members
Microsoft.SqlServer.NotificationServices Namespace