Mono Class Library: Microsoft.Win32.SafeHandles Namespace

Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid Class

A utility base class for developers to use. [Edit]

See Also: SafeHandleZeroOrMinusOneIsInvalid Members

System.Object
     System.Runtime.ConstrainedExecution.CriticalFinalizerObject
          System.Runtime.InteropServices.SafeHandle
               Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid

public abstract class SafeHandleZeroOrMinusOneIsInvalid : System.Runtime.InteropServices.SafeHandle

Remarks

This class is a utility base class that can be used by developers.

This can be used by developers when the -1 or zero represent an invalid handle. This is merely a helper class.

[Edit]

Requirements

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