Redigera

Dela via


CriticalHandleZeroOrMinusOneIsInvalid.IsInvalid Property

Definition

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