AnonymousPipeClientStream Constructor (String^)

 

Initializes a new instance of the AnonymousPipeClientStream class with the specified string representation of the pipe handle.

Namespace:   System.IO.Pipes
Assembly:  System.Core (in System.Core.dll)

public:
AnonymousPipeClientStream(
	String^ pipeHandleAsString
)

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.

No code example is currently available or this language may not be supported.

Demand

for full trust for the immediate caller. This member cannot be used by partially trusted code.

.NET Framework
Available since 3.5
Return to top
Show: