共用方式為


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