NSException Class

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

Espacio de nombres: Microsoft.SqlServer.NotificationServices
Ensamblado: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintaxis

'Declaración
<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

Notas

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

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

NSException Members
Microsoft.SqlServer.NotificationServices Namespace