WaitHandle Methods
Collapse the table of content
Expand the table of content

WaitHandle Methods

 

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodClose()

Releases all resources held by the current WaitHandle.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the WaitHandle class.

System_CAPS_protmethodDispose(Boolean)

When overridden in a derived class, releases the unmanaged resources used by the WaitHandle, and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodSystem_CAPS_staticSignalAndWait(WaitHandle, WaitHandle)

Signals one WaitHandle and waits on another.

System_CAPS_pubmethodSystem_CAPS_staticSignalAndWait(WaitHandle, WaitHandle, Int32, Boolean)

Signals one WaitHandle and waits on another, specifying a time-out interval as a 32-bit signed integer and specifying whether to exit the synchronization domain for the context before entering the wait.

System_CAPS_pubmethodSystem_CAPS_staticSignalAndWait(WaitHandle, WaitHandle, TimeSpan, Boolean)

Signals one WaitHandle and waits on another, specifying the time-out interval as a TimeSpan and specifying whether to exit the synchronization domain for the context before entering the wait.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticWaitAll(WaitHandle[])

Waits for all the elements in the specified array to receive a signal.

System_CAPS_pubmethodSystem_CAPS_staticWaitAll(WaitHandle[], Int32)

Waits for all the elements in the specified array to receive a signal, using an Int32 value to specify the time interval.

System_CAPS_pubmethodSystem_CAPS_staticWaitAll(WaitHandle[], Int32, Boolean)

Waits for all the elements in the specified array to receive a signal, using an Int32 value to specify the time interval and specifying whether to exit the synchronization domain before the wait.

System_CAPS_pubmethodSystem_CAPS_staticWaitAll(WaitHandle[], TimeSpan)

Waits for all the elements in the specified array to receive a signal, using a TimeSpan value to specify the time interval.

System_CAPS_pubmethodSystem_CAPS_staticWaitAll(WaitHandle[], TimeSpan, Boolean)

Waits for all the elements in the specified array to receive a signal, using a TimeSpan value to specify the time interval, and specifying whether to exit the synchronization domain before the wait.

System_CAPS_pubmethodSystem_CAPS_staticWaitAny(WaitHandle[])

Waits for any of the elements in the specified array to receive a signal.

System_CAPS_pubmethodSystem_CAPS_staticWaitAny(WaitHandle[], Int32)

Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to specify the time interval.

System_CAPS_pubmethodSystem_CAPS_staticWaitAny(WaitHandle[], Int32, Boolean)

Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to specify the time interval, and specifying whether to exit the synchronization domain before the wait.

System_CAPS_pubmethodSystem_CAPS_staticWaitAny(WaitHandle[], TimeSpan)

Waits for any of the elements in the specified array to receive a signal, using a TimeSpan to specify the time interval.

System_CAPS_pubmethodSystem_CAPS_staticWaitAny(WaitHandle[], TimeSpan, Boolean)

Waits for any of the elements in the specified array to receive a signal, using a TimeSpan to specify the time interval and specifying whether to exit the synchronization domain before the wait.

System_CAPS_pubmethodWaitOne()

Blocks the current thread until the current WaitHandle receives a signal.

System_CAPS_pubmethodWaitOne(Int32)

Blocks the current thread until the current WaitHandle receives a signal, using a 32-bit signed integer to specify the time interval in milliseconds.

System_CAPS_pubmethodWaitOne(Int32, Boolean)

Blocks the current thread until the current WaitHandle receives a signal, using a 32-bit signed integer to specify the time interval and specifying whether to exit the synchronization domain before the wait.

System_CAPS_pubmethodWaitOne(TimeSpan)

Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval.

System_CAPS_pubmethodWaitOne(TimeSpan, Boolean)

Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval and specifying whether to exit the synchronization domain before the wait.

NameDescription
System_CAPS_pubmethodGetSafeWaitHandle()

Gets the safe handle for a native operating system wait handle. (Defined by WaitHandleExtensions.)

System_CAPS_pubmethodSetSafeWaitHandle(SafeWaitHandle)

Sets a safe handle for a native operating system wait handle. (Defined by WaitHandleExtensions.)

Return to top
Show:
© 2016 Microsoft