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
)

参数

请参阅

参考

ISiteFileWatcherService 接口

Microsoft.WebMatrix.Extensibility 命名空间