NSException Class

The exception that is thrown when a Notification Services application error occurs.

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

Syntaxe

'Déclaration
<SerializableAttribute> _
Public NotInheritable Class NSException
    Inherits Exception
    Implements ISerializable
[SerializableAttribute] 
public sealed class NSException : Exception, ISerializable
[SerializableAttribute] 
public ref class NSException sealed : public Exception, ISerializable
/** @attribute SerializableAttribute() */ 
public final class NSException extends Exception implements ISerializable
SerializableAttribute 
public final class NSException extends Exception implements ISerializable

Notes

The NSException class is used to encompass a number of different errors that might occur during the execution or management of a Notification Services instance or application. The different errors can be distinguished via the error code values returned by the ErrorCode property.

Inheritance Hierarchy

System.Object
   System.Exception
    Microsoft.SqlServer.NotificationServices.NSException

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

NSException Members
Microsoft.SqlServer.NotificationServices Namespace