Partilhar via


StopHandler Delegate

Allows an event provider to request termination.

Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

'Declaration
Public Delegate Sub StopHandler ()
public delegate void StopHandler ()
public delegate void StopHandler ()
/** @delegate */
public delegate void StopHandler ()
JScript supports the use of delegates, but not the declaration of new ones.

Remarks

The StopHandler delegate allows an event provider to request termination. Invoking this delegate asynchronously calls the Terminate method on the event provider in question.

The StopHandler delegate is passed to the event provider as a parameter to the Initialize method. For examples, see IEventProvider and IScheduledEventProvider.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.SqlServer.NotificationServices Namespace