Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AnonymousPipeServerStream() [5/6]

System.IO.Pipes.AnonymousPipeServerStream.AnonymousPipeServerStream ( PipeDirection direction,
HandleInheritability inheritability,
int bufferSize )
inline

Definition at line 86 of file AnonymousPipeServerStream.cs.

87 : base(direction, bufferSize)
88 {
89 if (direction == PipeDirection.InOut)
90 {
91 throw new NotSupportedException(System.SR.NotSupported_AnonymousPipeUnidirectional);
92 }
93 if (inheritability < HandleInheritability.None || inheritability > HandleInheritability.Inheritable)
94 {
95 throw new ArgumentOutOfRangeException("inheritability", System.SR.ArgumentOutOfRange_HandleInheritabilityNoneOrInheritable);
96 }
97 Create(direction, inheritability, bufferSize);
98 }
static string ArgumentOutOfRange_HandleInheritabilityNoneOrInheritable
Definition SR.cs:38
static string NotSupported_AnonymousPipeUnidirectional
Definition SR.cs:90
Definition SR.cs:7

References System.SR.ArgumentOutOfRange_HandleInheritabilityNoneOrInheritable, System.IO.Create, and System.SR.NotSupported_AnonymousPipeUnidirectional.