Export (0) Print
Expand All

WaitHandle Members

WaitHandle overview

Public Constructors

public constructorWaitHandle Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the WaitHandle class.

Public Fields

public fieldstatic (Shared in Visual Basic)WaitTimeout Indicates that a WaitAny operation timed out before any of the wait handles were signaled. This field is constant.

Public Properties

public propertyHandle

Supported by the .NET Compact Framework.

Gets or sets the native operating system handle.

Public Methods

public methodClose

Supported by the .NET Compact Framework.

When overridden in a derived class, releases all resources held by the current WaitHandle.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.
public methodstatic (Shared in Visual Basic)WaitAll Overloaded. Waits for all the elements in the specified array to receive a signal.
public methodstatic (Shared in Visual Basic)WaitAny Overloaded. Waits for any of the elements in the specified array to receive a signal.
public methodWaitOne

Supported by the .NET Compact Framework.

Overloaded. When overridden in a derived class, blocks the current thread until the current WaitHandle receives a signal.

Protected Fields

protected fieldstatic (Shared in Visual Basic)InvalidHandle

Supported by the .NET Compact Framework.

Represents an invalid native operating system handle. This field is read-only.

Protected Methods

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

Supported by the .NET Compact Framework.

Overridden. Releases the resources held by the current instance.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

WaitHandle Class | System.Threading Namespace

Show:
© 2014 Microsoft