AnonymousPipeClientStream Constructor (String^)
.NET Framework (current version)
Initializes a new instance of the AnonymousPipeClientStream class with the specified string representation of the pipe handle.
Assembly: System.Core (in System.Core.dll)
Parameters
- pipeHandleAsString
-
Type:
System::String^
A string that represents the pipe handle.
| Exception | Condition |
|---|---|
| IOException | pipeHandleAsString is not a valid pipe handle. |
For constructors without a PipeDirection parameter, the default direction is In.
The following example demonstrates a way to send a string from a parent process to a child process by using anonymous pipes. In this example, an AnonymousPipeClientStream object is created in a child process.
Demand
for full trust for the immediate caller. This member cannot be used by partially trusted code.
.NET Framework
Available since 3.5
Available since 3.5
Show: