Condividi tramite


NSException Class

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

Spazio dei nomi: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintassi

'Dichiarazione
<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

Osservazioni

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

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

NSException Members
Microsoft.SqlServer.NotificationServices Namespace