ITeamFoundationRegistryService.RegisterNotification Method (TeamFoundationRequestContext, RegistrySettingsChangedCallback, Boolean, array<String )
Register a callback method which will be invoked whenever registry paths matching the given filters has changed
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Sub RegisterNotification ( _
requestContext As TeamFoundationRequestContext, _
callback As RegistrySettingsChangedCallback, _
fallThru As Boolean, _
ParamArray filters As String() _
)
void RegisterNotification(
TeamFoundationRequestContext requestContext,
RegistrySettingsChangedCallback callback,
bool fallThru,
params string[] filters
)
void RegisterNotification(
TeamFoundationRequestContext^ requestContext,
RegistrySettingsChangedCallback^ callback,
bool fallThru,
... array<String^>^ filters
)
abstract RegisterNotification :
requestContext:TeamFoundationRequestContext *
callback:RegistrySettingsChangedCallback *
fallThru:bool *
filters:string[] -> unit
function RegisterNotification(
requestContext : TeamFoundationRequestContext,
callback : RegistrySettingsChangedCallback,
fallThru : boolean,
... filters : String[]
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
callback
Type: Microsoft.TeamFoundation.Framework.Server.RegistrySettingsChangedCallbackThe callback method to register
fallThru
Type: System.BooleanIf the value is not found and a fallthru hive is available read it from there.
filters
Type: array<System.String[]The filter paths to be notified of changes
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.