Mono Class Library: Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid Overview | Members

Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid Constructor

Documentation for this section has not yet been entered. [Edit]

[System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail)]
protected SafeHandleZeroOrMinusOneIsInvalid (bool ownsHandle)

Parameters

ownsHandle
Whether the handle is owned by the class; If so, it will call the virtual ReleaseHandle method at Finalization time. [Edit]

Remarks

If ownsHandle is set to true, the handle will be disposed at finalization time. [Edit]

Requirements

Namespace: Microsoft.Win32.SafeHandles
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0