EventWaitHandle Methods

EventWaitHandle Methods

 

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

NameDescription
System_CAPS_pubmethodClose()

Releases all resources held by the current WaitHandle.(Inherited from 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.(Inherited from WaitHandle.)

System_CAPS_protmethodDispose(Boolean)

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

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_pubmethodGetAccessControl()

Gets an EventWaitHandleSecurity object that represents the access control security for the named system event represented by the current EventWaitHandle 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_staticOpenExisting(String)

Opens the specified named synchronization event, if it already exists.

System_CAPS_pubmethodSystem_CAPS_staticOpenExisting(String, EventWaitHandleRights)

Opens the specified named synchronization event, if it already exists, with the desired security access.

System_CAPS_pubmethodReset()

Sets the state of the event to nonsignaled, causing threads to block.

System_CAPS_pubmethodSet()

Sets the state of the event to signaled, allowing one or more waiting threads to proceed.

System_CAPS_pubmethodSetAccessControl(EventWaitHandleSecurity)

Sets the access control security for a named system event.

System_CAPS_pubmethodToString()

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

System_CAPS_pubmethodSystem_CAPS_staticTryOpenExisting(String, EventWaitHandle)

Opens the specified named synchronization event, if it already exists, and returns a value that indicates whether the operation succeeded.

System_CAPS_pubmethodSystem_CAPS_staticTryOpenExisting(String, EventWaitHandleRights, EventWaitHandle)

Opens the specified named synchronization event, if it already exists, with the desired security access, and returns a value that indicates whether the operation succeeded.

System_CAPS_pubmethodWaitOne()

Blocks the current thread until the current WaitHandle receives a signal.(Inherited from WaitHandle.)

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.(Inherited from WaitHandle.)

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.(Inherited from WaitHandle.)

System_CAPS_pubmethodWaitOne(TimeSpan)

Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval.(Inherited from WaitHandle.)

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.(Inherited from WaitHandle.)

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