Edit

Bagikan melalui


WaitHandleExtensions Class

Definition

Provides convenience methods to for working with a safe handle for a wait handle.

public ref class WaitHandleExtensions abstract sealed
public static class WaitHandleExtensions
type WaitHandleExtensions = class
Public Module WaitHandleExtensions
Inheritance
WaitHandleExtensions

Remarks

The WaitHandleExtensions class includes two extension methods that allow you to create a safe handle for a wait handle and to retrieve the native operating system handle from a safe handle.

Methods

GetSafeWaitHandle(WaitHandle)

Gets the safe handle for a native operating system wait handle.

SetSafeWaitHandle(WaitHandle, SafeWaitHandle)

Sets a safe handle for a native operating system wait handle.

Applies to