Class SkipSafeHandle
A SafeHandle that can be used to skip reading a Unix file descriptor handle.
public sealed class SkipSafeHandle : SafeHandle, IDisposable
- Inheritance
-
SkipSafeHandle
- Implements
- Inherited Members
Remarks
When this type is used with handle reading methods, the handle will not be read and a SkipSafeHandle instance will be returned instead. This allows skipping handles without consuming them.
Constructors
SkipSafeHandle()
Initializes a new instance of the SkipSafeHandle class.
public SkipSafeHandle()
Properties
IsInvalid
Gets a value indicating whether the handle is invalid.
public override bool IsInvalid { get; }
Property Value
Methods
ReleaseHandle()
Releases the handle.
protected override bool ReleaseHandle()
Returns
- bool
Always returns true.