Partager via


RulesException Constructor (String, Exception)

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.

Espace de noms: Microsoft.SqlServer.NotificationServices.Rules
Assembly: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

Syntaxe

'Déclaration
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
)

Paramètres

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

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

RulesException Class
RulesException Members
Microsoft.SqlServer.NotificationServices.Rules Namespace