Redigera

Dela via


SafePipeHandle Constructors

Definition

Overloads

SafePipeHandle()

Creates a SafePipeHandle.

SafePipeHandle(IntPtr, Boolean)

Initializes a new instance of the SafePipeHandle class.

SafePipeHandle()

Source:
SafePipeHandle.cs
Source:
SafePipeHandle.cs
Source:
SafePipeHandle.cs

Creates a SafePipeHandle.

public:
 SafePipeHandle();
public SafePipeHandle ();
Public Sub New ()

Applies to

SafePipeHandle(IntPtr, Boolean)

Source:
SafePipeHandle.cs
Source:
SafePipeHandle.cs
Source:
SafePipeHandle.cs

Initializes a new instance of the SafePipeHandle class.

public:
 SafePipeHandle(IntPtr preexistingHandle, bool ownsHandle);
public SafePipeHandle (IntPtr preexistingHandle, bool ownsHandle);
new Microsoft.Win32.SafeHandles.SafePipeHandle : nativeint * bool -> Microsoft.Win32.SafeHandles.SafePipeHandle
Public Sub New (preexistingHandle As IntPtr, ownsHandle As Boolean)

Parameters

preexistingHandle
IntPtr

nativeint

An IntPtr object that represents the pre-existing handle to use.

ownsHandle
Boolean

true to reliably release the handle during the finalization phase; false to prevent reliable release (not recommended).

Applies to