RegistryWatcher, constructeur (RegistryHive, String, Boolean, RegistryChangeNotificationFilter)
Cette API n'est pas conforme CLS.
Espace de noms : Microsoft.TeamFoundation.Build.Common
Assembly : Microsoft.TeamFoundation.Build.Common (dans Microsoft.TeamFoundation.Build.Common.dll)
Syntaxe
'Déclaration
<CLSCompliantAttribute(False)> _
Public Sub New ( _
hive As RegistryHive, _
keyPath As String, _
watchSubtree As Boolean, _
filter As RegistryChangeNotificationFilter _
)
[CLSCompliantAttribute(false)]
public RegistryWatcher(
RegistryHive hive,
string keyPath,
bool watchSubtree,
RegistryChangeNotificationFilter filter
)
Paramètres
- hive
Type : Microsoft.Win32.RegistryHive
- keyPath
Type : System.String
- watchSubtree
Type : System.Boolean
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.