3 // Copyright (c) Microsoft Corporation. All rights reserved.
7 // <OWNER>[....]</OWNER>
8 /*=============================================================================
10 ** Class: AutoResetEvent
13 ** Purpose: An example of a WaitHandle class
16 =============================================================================*/
17 namespace System.Threading {
20 using System.Security.Permissions;
21 using System.Runtime.InteropServices;
23 [HostProtection(Synchronization=true, ExternalThreading=true)]
24 [System.Runtime.InteropServices.ComVisible(true)]
25 public sealed class AutoResetEvent : EventWaitHandle
27 public AutoResetEvent(bool initialState) : base(initialState,EventResetMode.AutoReset){ }