CriticalHandleMinusOneIsInvalid.IsInvalid Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the handle is invalid.
public:
virtual property bool IsInvalid { bool get(); };
public override bool IsInvalid { get; }
public override bool IsInvalid { [System.Security.SecurityCritical] get; }
member this.IsInvalid : bool
[<get: System.Security.SecurityCritical>]
member this.IsInvalid : bool
Public Overrides ReadOnly Property IsInvalid As Boolean
Property Value
true
if the handle is not valid; otherwise, false
.
- Attributes
Remarks
The common language runtime uses this property to determine whether critical finalization is required.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.