Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Microsoft.Win32.SafeHandles
Collapse the table of content
Expand the table of content

Microsoft.Win32.SafeHandles Namespace

The Microsoft.Win32.SafeHandles namespace contains classes that are abstract derivations of safe handle classes that provide common functionality supporting file and operating system handles.

These classes are derived from the System.Runtime.InteropServices.SafeHandle and System.Runtime.InteropServices.CriticalHandle classes.

  Class Description
Public class CriticalHandleMinusOneIsInvalid Provides a base class for Win32 critical handle implementations in which the value of -1 indicates an invalid handle.
Public class SafeHandleMinusOneIsInvalid Provides a base class for Win32 safe handle implementations in which the value of -1 indicates an invalid handle.
Public class SafeHandleZeroOrMinusOneIsInvalid Provides a base class for Win32 safe handle implementations in which the value of either 0 or -1 indicates an invalid handle.
Public class SafeWaitHandle Represents a wrapper class for a wait handle.

Community Additions

ADD
Show:
© 2015 Microsoft