The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
CriticalHandle Constructor (IntPtr)
.NET Framework (current version)
Initializes a new instance of the CriticalHandle class with the specified invalid handle value.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- invalidHandleValue
-
Type:
System::IntPtr
The value of an invalid handle (usually 0 or -1).
| Exception | Condition |
|---|---|
| TypeLoadException | The derived class resides in an assembly without unmanaged code access permission. |
InheritanceDemandSecurityCriticalAttribute
for full trust for inheritors. This member cannot be inherited by partially trusted code.
requires full trust for the immediate caller. This class cannot be used by partially trusted or transparent code.
Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Show: