CriticalHandle::IsClosed Property
.NET Framework (current version)
Gets a value indicating whether the handle is closed.
Assembly: mscorlib (in mscorlib.dll)
The IsClosed method returns a value indicating whether the CriticalHandle object's handle is no longer associated with a native resource. This differs from the definition of the IsInvalid property, which computes whether a given handle is always considered invalid. The IsClosed method returns a true value in the following cases:
The SetHandleAsInvalid method was called.
The Dispose method or Close method was called and there are no references to the CriticalHandle object on other threads.
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: