Initializes a new instance of the RulesException class with a specified error message and a reference to the inner exception that is the cause of this exception.
命名空间: Microsoft.SqlServer.NotificationServices.Rules
程序集: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)
语法
声明
Public Sub New ( _
message As String, _
innerException As Exception _
)
public RulesException (
string message,
Exception innerException
)
public:
RulesException (
String^ message,
Exception^ innerException
)
public RulesException (
String message,
Exception innerException
)
public function RulesException (
message : String,
innerException : Exception
)
参数
- message
The error message that explains the reason for the exception.
- innerException
The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Microsoft Visual Basic), the current exception is raised in a catch block that handles the inner exception.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
RulesException Class
RulesException Members
Microsoft.SqlServer.NotificationServices.Rules Namespace