CriticalHandleMinusOneIsInvalid Class
Do not use any members of this type in your application. If you do, your code will throw a MethodAccessException. This type is security-critical, which restricts it to internal use by the .NET Framework for Silverlight class library.
Namespace:
Microsoft.Win32.SafeHandles
Assembly: mscorlib (in mscorlib.dll)
Top
Top
Top
[SECURITY CRITICAL]
Provides a base class for Win32 critical handle implementations in which the value of -1 indicates an invalid handle.
System.Object
System.Runtime.ConstrainedExecution.CriticalFinalizerObject
System.Runtime.InteropServices.CriticalHandle
Microsoft.Win32.SafeHandles.CriticalHandleMinusOneIsInvalid
System.Runtime.ConstrainedExecution.CriticalFinalizerObject
System.Runtime.InteropServices.CriticalHandle
Microsoft.Win32.SafeHandles.CriticalHandleMinusOneIsInvalid
Assembly: mscorlib (in mscorlib.dll)
The CriticalHandleMinusOneIsInvalid type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CriticalHandleMinusOneIsInvalid | Initializes a new instance of the CriticalHandleMinusOneIsInvalid class. |
| Name | Description | |
|---|---|---|
![]() | IsClosed | Gets a value that indicates whether the handle is closed. (Inherited from CriticalHandle.) |
![]() | IsInvalid | Gets a value that indicates whether the handle is invalid. (Overrides CriticalHandle.IsInvalid.) |
| Name | Description | |
|---|---|---|
![]() | Close | Security Critical. Marks the handle for releasing and freeing resources. (Inherited from CriticalHandle.) |
![]() | Dispose | Releases all resources used by the CriticalHandle. (Inherited from CriticalHandle.) |
![]() | Dispose(Boolean) | Security Critical. Releases the unmanaged resources used by the CriticalHandle class specifying whether to perform a normal dispose operation. (Inherited from CriticalHandle.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Frees all resources associated with the handle. (Inherited from CriticalHandle.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReleaseHandle | When overridden in a derived class, executes the code required to free the handle. (Inherited from CriticalHandle.) |
![]() | SetHandle | Sets the handle to the specified pre-existing handle. (Inherited from CriticalHandle.) |
![]() | SetHandleAsInvalid | Marks a handle as invalid. (Inherited from CriticalHandle.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
Show:



