ערוך

שתף באמצעות


CriticalHandle.IsClosed Property

Definition

Gets a value indicating whether the handle is closed.

public:
 property bool IsClosed { bool get(); };
public bool IsClosed { get; }
member this.IsClosed : bool
Public ReadOnly Property IsClosed As Boolean

Property Value

true if the handle is closed; otherwise, false.

Remarks

The IsClosed method returns a value indicating whether the CriticalHandle object's handle is no longer associated with a native resource. This differs from the definition of the IsInvalid property, which computes whether a given handle is always considered invalid. The IsClosed method returns a true value in the following cases:

Applies to

See also