Overlapped.EventHandle Property

NOTE: This property is now obsolete. The non-obsolete alternative is EventHandleIntPtr.

Gets or sets the 32-bit integer handle to a synchronization event that is signaled when the I/O operation is complete.

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)

[ObsoleteAttribute("This property is not 64-bit compatible.  Use EventHandleIntPtr instead.  http://go.microsoft.com/fwlink/?linkid=14202")] 
public int EventHandle { get; set; }
/** @property */
public int get_EventHandle ()

/** @property */
public void set_EventHandle (int value)

public function get EventHandle () : int

public function set EventHandle (value : int)

Not applicable.

Property Value

An Int32 value representing the handle of the synchronization event.

This property cannot be used on 64-bit platforms. Use the EventHandleIntPtr property instead.

Use the WaitHandle.Handle property to get the handle of any managed synchronization event that derives from the WaitHandle class.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 1.0, 1.1, 2.0
Obsolete (compiler warning) in 3.0