Export (0) Print
Expand All

CriticalHandleMinusOneIsInvalid Members

Provides a base class for Win32 critical handle implementations in which the value of -1 indicates an invalid handle.

The following tables list the members exposed by the CriticalHandleMinusOneIsInvalid type.

  Name Description
Protected method CriticalHandleMinusOneIsInvalid Initializes a new instance of the CriticalHandleMinusOneIsInvalid class.
Top

  Name Description
Protected field handle  Specifies the handle to be wrapped.(Inherited from CriticalHandle.)
Top

  Name Description
Public property IsClosed  Gets a value indicating whether the handle is closed.(Inherited from CriticalHandle.)
Public property IsInvalid Overridden. Gets a value indicating whether the handle is invalid.
Top

(see also Protected Methods )
  Name Description
Public method Close  Marks the handle for releasing and freeing resources. (Inherited from CriticalHandle.)
Public method Dispose  Overloaded. Marks the handle for releasing and freeing resources. (Inherited from CriticalHandle.)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method SetHandleAsInvalid  Marks a handle as invalid. (Inherited from CriticalHandle.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Dispose  Overloaded. Marks the handle for releasing and freeing resources. (Inherited from CriticalHandle.)
Protected method Finalize  Frees all resources associated with the handle. (Inherited from CriticalHandle.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method ReleaseHandle  When overridden in a derived class, executes the code required to free the handle. (Inherited from CriticalHandle.)
Protected method SetHandle  Sets the handle to the specified pre-existing handle. (Inherited from CriticalHandle.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft