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

◆ AnonymousPipeServerStream() [6/6]

System.IO.Pipes.AnonymousPipeServerStream.AnonymousPipeServerStream ( PipeDirection direction,
HandleInheritability inheritability,
int bufferSize,
PipeSecurity pipeSecurity )
inlinepackage

Definition at line 135 of file AnonymousPipeServerStream.cs.

136 : base(direction, bufferSize)
137 {
138 if (direction == PipeDirection.InOut)
139 {
140 throw new NotSupportedException(System.SR.NotSupported_AnonymousPipeUnidirectional);
141 }
142 if (inheritability < HandleInheritability.None || inheritability > HandleInheritability.Inheritable)
143 {
144 throw new ArgumentOutOfRangeException("inheritability", System.SR.ArgumentOutOfRange_HandleInheritabilityNoneOrInheritable);
145 }
146 Create(direction, inheritability, bufferSize, pipeSecurity);
147 }
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.