共用方式為


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

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

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

語法

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

參數

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

.NET Framework 安全性

請參閱

參考

ITeamFoundationRegistryService 介面

RegisterNotification 多載

Microsoft.TeamFoundation.Framework.Server 命名空間