WaitHandleExtensions.GetSafeWaitHandle(WaitHandle) WaitHandleExtensions.GetSafeWaitHandle(WaitHandle) WaitHandleExtensions.GetSafeWaitHandle(WaitHandle) Method

Definición

Obtiene el identificador seguro para un identificador de espera del sistema operativo nativo.Gets the safe handle for a native operating system wait handle.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Win32::SafeHandles::SafeWaitHandle ^ GetSafeWaitHandle(System::Threading::WaitHandle ^ waitHandle);
[System.Security.SecurityCritical]
public static Microsoft.Win32.SafeHandles.SafeWaitHandle GetSafeWaitHandle (this System.Threading.WaitHandle waitHandle);
static member GetSafeWaitHandle : System.Threading.WaitHandle -> Microsoft.Win32.SafeHandles.SafeWaitHandle

Parámetros

waitHandle
WaitHandle WaitHandle WaitHandle

Identificador del sistema operativo nativo.A native operating system handle.

Devoluciones

Identificador de espera seguro que encapsula el identificador de espera del sistema operativo nativo.The safe wait handle that wraps the native operating system wait handle.

Excepciones

waitHandle es null.waitHandle is null.

Comentarios

GetSafeWaitHandlees un método de extensión equivalente a recuperar el valor de la WaitHandle.SafeWaitHandle propiedad.GetSafeWaitHandle is an extension method that is equivalent to retrieving the value of the WaitHandle.SafeWaitHandle property.

Se aplica a