共用方式為


TeamFoundationRegistryService.RegisterNotification 方法 (TeamFoundationRequestContext, RegistrySettingsChangedCallback, Boolean, array<String[])

註冊要叫用的回呼方法,只要符合所指定篩選條件的登錄路徑已變更

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Sub RegisterNotification ( _
    requestContext As TeamFoundationRequestContext, _
    callback As RegistrySettingsChangedCallback, _
    fallThru As Boolean, _
    ParamArray filters As String() _
)
public void RegisterNotification(
    TeamFoundationRequestContext requestContext,
    RegistrySettingsChangedCallback callback,
    bool fallThru,
    params string[] filters
)

參數

  • filters
    類型:array<System.String[]
    要通知的篩選條件路徑變更

實作

ITeamFoundationRegistryService.RegisterNotification(TeamFoundationRequestContext, RegistrySettingsChangedCallback, Boolean, array<String[])

.NET Framework 安全性

請參閱

參考

TeamFoundationRegistryService 類別

RegisterNotification 多載

Microsoft.TeamFoundation.Framework.Server 命名空間