Export (0) Print
Expand All

SafeHandleZeroOrMinusOneIsInvalid Methods

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Close  Marks the handle for releasing and freeing resources. (Inherited from SafeHandle.)
Public method DangerousAddRef  Manually increments the reference counter on SafeHandle instances. (Inherited from SafeHandle.)
Public method Supported by the .NET Compact Framework DangerousGetHandle  Returns the value of the handle field. (Inherited from SafeHandle.)
Public method DangerousRelease  Manually decrements the reference counter on a SafeHandle instance. (Inherited from SafeHandle.)
Public method Supported by the .NET Compact Framework Dispose  Overloaded. Releases the resources used by the SafeHandle class. (Inherited from SafeHandle.)
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework SetHandleAsInvalid  Marks a handle as no longer used. (Inherited from SafeHandle.)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Dispose  Overloaded. Releases the resources used by the SafeHandle class. (Inherited from SafeHandle.)
Protected method Supported by the .NET Compact Framework Finalize  Frees all resources associated with the handle. (Inherited from SafeHandle.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework ReleaseHandle  When overridden in a derived class, executes the code required to free the handle. (Inherited from SafeHandle.)
Protected method Supported by the .NET Compact Framework SetHandle  Sets the handle to the specified pre-existing handle. (Inherited from SafeHandle.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft