共用方式為


Overlapped.EventHandle 屬性

定義

警告

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

警告

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

警告

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

取得或設定當 I/O 作業完成時,收到信號之同步處理事件的控制代碼 (32 位元整數)。

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

屬性值

Int32 值,表示同步處理事件的控制代碼。

屬性

備註

此屬性無法在 64 位平臺上使用。 請改用 EventHandleIntPtr 屬性。

WaitHandle.Handle使用 屬性可取得衍生自 WaitHandle 類別之任何 Managed 同步處理事件的控制碼。

適用於