WaitHandleCannotBeOpenedException Constructor ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the WaitHandleCannotBeOpenedException class with default values.

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

public WaitHandleCannotBeOpenedException()

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "No handle of the given name exists." This message takes into account the current system culture.

The following table shows the initial property values for an instance of WaitHandleCannotBeOpenedException.

Property

Value

InnerException

null.

Message

The system-supplied error message string.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: