GroupPolicyWatcher Class

The policy watcher can be started and stopped many times. To deal with this, when a watcher thread is started it is given an 'exit' event that will be signaled when the thread needs to be stopped. Once the thread is started it own the exit event, and will release it when it terminates. More than one watching thread may be active at the same time, having different exit events, if the old watching thread doesn't get processing time before the new thread is started; when the old thread gets to run it will consume the signaled exit event and finish.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
Public NotInheritable Class GroupPolicyWatcher _
    Implements IGroupPolicyWatcher, IDisposable
public sealed class GroupPolicyWatcher : IGroupPolicyWatcher, 
    IDisposable
public ref class GroupPolicyWatcher sealed : IGroupPolicyWatcher, 
    IDisposable
public final class GroupPolicyWatcher implements IGroupPolicyWatcher, IDisposable

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.GroupPolicyWatcher

See Also

GroupPolicyWatcher Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability Namespace