Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EventWaitHandle Methods

The EventWaitHandle type exposes the following members.

  Name Description
Public method Supported by the XNA Framework Close Releases all resources held by the current WaitHandle. (Inherited from WaitHandle.)

In XNA Framework, this member is overridden by Close().
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Supported by Portable Class Library Dispose() Releases all resources used by the current instance of the WaitHandle class. (Inherited from WaitHandle.)
Protected method Supported by the XNA Framework Supported by Portable Class Library Dispose(Boolean) When overridden in a derived class, releases the unmanaged resources used by the WaitHandle, and optionally releases the managed resources. (Inherited from WaitHandle.)
Public method Supported by the XNA Framework Supported by Portable Class Library Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

In XNA Framework, this member is overridden by Finalize().
Public method GetAccessControl Gets an EventWaitHandleSecurity object that represents the access control security for the named system event represented by the current EventWaitHandle object.
Public method Supported by the XNA Framework Supported by Portable Class Library GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the XNA Framework Supported by Portable Class Library GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method Supported by the XNA Framework Supported by Portable Class Library MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method Static member Supported by Portable Class Library OpenExisting(String) Opens the specified named synchronization event, if it already exists.
Public method Static member OpenExisting(String, EventWaitHandleRights) Opens the specified named synchronization event, if it already exists, with the desired security access.
Public method Supported by the XNA Framework Supported by Portable Class Library Reset Sets the state of the event to nonsignaled, causing threads to block.
Public method Supported by the XNA Framework Supported by Portable Class Library Set Sets the state of the event to signaled, allowing one or more waiting threads to proceed.
Public method SetAccessControl Sets the access control security for a named system event.
Public method Supported by the XNA Framework Supported by Portable Class Library ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Static member TryOpenExisting(String, EventWaitHandle) Opens the specified named synchronization event, if it already exists, and returns a value that indicates whether the operation succeeded.
Public method Static member TryOpenExisting(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.
Public method Supported by the XNA Framework WaitOne() Blocks the current thread until the current WaitHandle receives a signal. (Inherited from WaitHandle.)

In XNA Framework, this member is overridden by WaitOne().
Public method Supported by Portable Class Library WaitOne(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.)
Public method Supported by Portable Class Library WaitOne(TimeSpan) Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval. (Inherited from WaitHandle.)
Public method Supported by the XNA Framework WaitOne(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.)

In XNA Framework, this member is overridden by WaitOne(Int32, Boolean).
Public method WaitOne(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.)
Top

  Name Description
Public Extension Method GetSafeWaitHandle() Overloaded. Gets the safe handle for a native operating system wait handle. (Defined by WaitHandleExtensions.)
Public Extension Method GetSafeWaitHandle() Overloaded. (Defined by WaitHandleExtensions.)
Public Extension Method SetSafeWaitHandle(SafeWaitHandle) Overloaded. Sets a safe handle for a native operating system wait handle. (Defined by WaitHandleExtensions.)
Public Extension Method SetSafeWaitHandle(SafeWaitHandle) Overloaded. (Defined by WaitHandleExtensions.)
Top

  Name Description
Explicit interface implemetation Private method Supported by the XNA Framework IDisposable.Dispose Infrastructure. Releases all resources used by the WaitHandle. (Inherited from WaitHandle.)
Top
Show:
© 2015 Microsoft