PipeStream.InitializeHandle(SafePipeHandle, Boolean, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a PipeStream object from the specified SafePipeHandle object.
protected:
void InitializeHandle(Microsoft::Win32::SafeHandles::SafePipeHandle ^ handle, bool isExposed, bool isAsync);
protected void InitializeHandle (Microsoft.Win32.SafeHandles.SafePipeHandle? handle, bool isExposed, bool isAsync);
protected void InitializeHandle (Microsoft.Win32.SafeHandles.SafePipeHandle handle, bool isExposed, bool isAsync);
[System.Security.SecurityCritical]
protected void InitializeHandle (Microsoft.Win32.SafeHandles.SafePipeHandle handle, bool isExposed, bool isAsync);
member this.InitializeHandle : Microsoft.Win32.SafeHandles.SafePipeHandle * bool * bool -> unit
[<System.Security.SecurityCritical>]
member this.InitializeHandle : Microsoft.Win32.SafeHandles.SafePipeHandle * bool * bool -> unit
Protected Sub InitializeHandle (handle As SafePipeHandle, isExposed As Boolean, isAsync As Boolean)
Parameters
- handle
- SafePipeHandle
The SafePipeHandle object of the pipe to initialize.
- isExposed
- Boolean
true
to expose the handle; otherwise, false
.
- isAsync
- Boolean
true
to indicate that the handle was opened asynchronously; otherwise, false
.
- Attributes
Exceptions
A handle cannot be bound to the pipe.
Remarks
If the pipe is in a connected state, this method also sets the IsConnected property to true
.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.