AnonymousPipeServerStream Constructor (PipeDirection)
.NET Framework (current version)
Initializes a new instance of the AnonymousPipeServerStream class with the specified pipe direction.
Assembly: System.Core (in System.Core.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | direction is set to InOut. |
A PipeDirection value of InOut is not supported because anonymous pipes are defined to be one-way.
This constructor creates an AnonymousPipeServerStream object that has the default buffer size, no pipe security, and a HandleInheritability value of None.
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: