SafeHandleMinusOneIsInvalid Constructor
Collapse the table of content
Expand the table of content

SafeHandleMinusOneIsInvalid Constructor (Boolean)

 

Initializes a new instance of the SafeHandleMinusOneIsInvalid class, specifying whether the handle is to be reliably released.

Namespace:   Microsoft.Win32.SafeHandles
Assembly:  mscorlib (in mscorlib.dll)

protected SafeHandleMinusOneIsInvalid(
	bool ownsHandle
)

Parameters

ownsHandle
Type: System.Boolean

true to reliably release the handle during the finalization phase; false to prevent reliable release (not recommended).

InheritanceDemand

for full trust for inheritors. This member cannot be inherited by partially trusted code.

SecurityCriticalAttribute

requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft