SafeBuffer.IsInvalid Property

Definition

Gets a value that indicates whether the handle is invalid.

C#
public override bool IsInvalid { get; }

Property Value

true if the handle is not valid; otherwise, false.

Remarks

The common language runtime uses this property to determine whether critical finalization is required.

Applies to

Product Versions
.NET Core 1.0, Core 1.1
.NET Standard 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
UWP 10.0

See also