ISiteFileWatcherService.DeregisterForSiteNotifications 方法
适用于版本2
注销针对路径的所有更改通知。
命名空间: Microsoft.WebMatrix.Extensibility
程序集: Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)
语法
声明
Sub DeregisterForSiteNotifications ( _
changeTypes As WatcherChangeTypes, _
handler As FileSystemEventHandler, _
renameHandler As RenamedEventHandler _
)
用法
Dim instance As ISiteFileWatcherService
Dim changeTypes As WatcherChangeTypes
Dim handler As FileSystemEventHandler
Dim renameHandler As RenamedEventHandler
instance.DeregisterForSiteNotifications(changeTypes, _
handler, renameHandler)
void DeregisterForSiteNotifications(
WatcherChangeTypes changeTypes,
FileSystemEventHandler handler,
RenamedEventHandler renameHandler
)
void DeregisterForSiteNotifications(
WatcherChangeTypes changeTypes,
FileSystemEventHandler^ handler,
RenamedEventHandler^ renameHandler
)
abstract DeregisterForSiteNotifications :
changeTypes:WatcherChangeTypes *
handler:FileSystemEventHandler *
renameHandler:RenamedEventHandler -> unit
function DeregisterForSiteNotifications(
changeTypes : WatcherChangeTypes,
handler : FileSystemEventHandler,
renameHandler : RenamedEventHandler
)
参数
changeTypes
类型:System.IO.WatcherChangeTypes要接收的通知类型。
handler
类型:System.IO.FileSystemEventHandler以前接收通知的处理程序。
renameHandler
类型:System.IO.RenamedEventHandler重命名处理程序。