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.
命名空间: Microsoft.SqlServer.NotificationServices
程序集: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
语法
声明
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
)
参数
- 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.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
NSException Class
NSException Members
Microsoft.SqlServer.NotificationServices Namespace