Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​Win32.​SafeHandles.​SafePipeHandle
Assembly: System.IO.Pipes
Inheritance: object → System.​Runtime.​ConstrainedExecution.​CriticalFinalizerObject → System.​Runtime.​InteropServices.​SafeHandle → SafeHandleZeroOrMinusOneIsInvalid → SafePipeHandle
Implemented Interfaces
- System.​IDisposable Implemented by: SafeHandle
Represents a wrapper class for a pipe handle.
Fields and Constants
protected
nint
handle
Properties
public
bool
IsInvalid
Gets a value that indicates whether the handle is invalid.
public
bool
IsClosed
Methods
protected
bool
ReleaseHandle​()
public
void
Close​()
Inherited from System.​Runtime.​InteropServices.​SafeHandle
public
void
DangerousAddRef​(System.​Boolean& success)
Inherited from System.​Runtime.​InteropServices.​SafeHandle
public
nint
DangerousGetHandle​()
Inherited from System.​Runtime.​InteropServices.​SafeHandle
public
void
DangerousRelease​()
Inherited from System.​Runtime.​InteropServices.​SafeHandle
public
void
Dispose​()
Inherited from System.​Runtime.​InteropServices.​SafeHandle
protected
void
Dispose​(bool disposing)
Inherited from System.​Runtime.​InteropServices.​SafeHandle
protected
void
Finalize​()
Inherited from System.​Runtime.​InteropServices.​SafeHandle
protected
void
SetHandle​(nint handle)
Inherited from System.​Runtime.​InteropServices.​SafeHandle
public
void
SetHandleAsInvalid​()
Inherited from System.​Runtime.​InteropServices.​SafeHandle
public
bool
Equals​(object obj)
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object