Modifier

Partager via


Overlapped.EventHandle Property

Definition

Caution

This property is not 64-bit compatible. Use EventHandleIntPtr instead. https://go.microsoft.com/fwlink/?linkid=14202

Caution

Overlapped.EventHandle is not 64-bit compatible and has been deprecated. Use EventHandleIntPtr instead.

Caution

This property is not 64-bit compatible. Use EventHandleIntPtr instead. http://go.microsoft.com/fwlink/?linkid=14202

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

public:
 property int EventHandle { int get(); void set(int value); };
[System.Obsolete("This property is not 64-bit compatible.  Use EventHandleIntPtr instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
public int EventHandle { get; set; }
[System.Obsolete("Overlapped.EventHandle is not 64-bit compatible and has been deprecated. Use EventHandleIntPtr instead.")]
public int EventHandle { get; set; }
[System.Obsolete("This property is not 64-bit compatible.  Use EventHandleIntPtr instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public int EventHandle { get; set; }
public int EventHandle { get; set; }
[<System.Obsolete("This property is not 64-bit compatible.  Use EventHandleIntPtr instead.  https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.EventHandle : int with get, set
[<System.Obsolete("Overlapped.EventHandle is not 64-bit compatible and has been deprecated. Use EventHandleIntPtr instead.")>]
member this.EventHandle : int with get, set
[<System.Obsolete("This property is not 64-bit compatible.  Use EventHandleIntPtr instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.EventHandle : int with get, set
member this.EventHandle : int with get, set
Public Property EventHandle As Integer

Property Value

An Int32 value representing the handle of the synchronization event.

Attributes

Remarks

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.

Applies to