Overlapped.EventHandle Egenskap

Definition

Varning

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

Varning

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

Hämtar eller anger 32-bitars heltalshandtaget till en synkroniseringshändelse som signaleras när I/O-åtgärden är klar.

public:
 property int EventHandle { int get(); void set(int value); };
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; }
[System.Obsolete("This property is not 64-bit compatible.  Use EventHandleIntPtr instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
public int EventHandle { get; set; }
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
[<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
Public Property EventHandle As Integer

Egenskapsvärde

Ett Int32 värde som representerar referensen för synkroniseringshändelsen.

Attribut

Kommentarer

Den här egenskapen kan inte användas på 64-bitarsplattformar. Använd egenskapen EventHandleIntPtr i stället.

Använd egenskapen WaitHandle.Handle för att hämta handtaget för alla hanterade synkroniseringshändelser som härleds från WaitHandle klassen.

Gäller för