RegistryHelper.RegNotifyChangeKeyValue 方法
命名空间: Microsoft.TeamFoundation.Common.Internal
程序集: Microsoft.TeamFoundation.Common(在 Microsoft.TeamFoundation.Common.dll 中)
语法
声明
Public Shared Function RegNotifyChangeKeyValue ( _
hKey As SafeHandle, _
watchSubtree As Boolean, _
dwNotifyFilter As RegistryChangeNotificationFilter, _
hEvent As SafeHandle, _
fAsynchronous As Boolean _
) As Integer
public static int RegNotifyChangeKeyValue(
SafeHandle hKey,
bool watchSubtree,
RegistryChangeNotificationFilter dwNotifyFilter,
SafeHandle hEvent,
bool fAsynchronous
)
参数
- watchSubtree
类型:System.Boolean
- fAsynchronous
类型:System.Boolean
返回值
类型:System.Int32
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。