StopHandler Delegate

Allows an event provider to request termination.

命名空间: Microsoft.SqlServer.NotificationServices
程序集: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

语法

声明
Public Delegate Sub StopHandler ()
public delegate void StopHandler ()
public delegate void StopHandler ()
/** @delegate */
public delegate void StopHandler ()
JScript 支持委托的使用,但不支持新委托的声明。

备注

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Microsoft.SqlServer.NotificationServices Namespace