58 references to PipeDirection
System.Core (58)
System\IO\Pipes\Pipe.cs (45)
49: this(PipeDirection.Out, HandleInheritability.None, 0, null) { } 53public AnonymousPipeServerStream(PipeDirection direction) 58public AnonymousPipeServerStream(PipeDirection direction, HandleInheritability inheritability) 65public AnonymousPipeServerStream(PipeDirection direction, HandleInheritability inheritability, int bufferSize) 67if (direction == PipeDirection.InOut) { 82public AnonymousPipeServerStream(PipeDirection direction, HandleInheritability inheritability, int bufferSize, PipeSecurity pipeSecurity) 84if (direction == PipeDirection.InOut) { 112public AnonymousPipeServerStream(PipeDirection direction, SafePipeHandle serverSafePipeHandle, SafePipeHandle clientSafePipeHandle) 114if (direction == PipeDirection.InOut) { 195private void Create(PipeDirection direction, UnsafeNativeMethods.SECURITY_ATTRIBUTES secAttrs, int bufferSize) { 196Debug.Assert(direction != PipeDirection.InOut, "Anonymous pipe direction shouldn't be InOut"); 204if (direction == PipeDirection.In) { 269: this(PipeDirection.In, pipeHandleAsString) { } 274public AnonymousPipeClientStream(PipeDirection direction, String pipeHandleAsString) 277if (direction == PipeDirection.InOut) { 302public AnonymousPipeClientStream(PipeDirection direction, SafePipeHandle safePipeHandle) 305if (direction == PipeDirection.InOut) { 320private void Init(PipeDirection direction, SafePipeHandle safePipeHandle) { 321Debug.Assert(direction != PipeDirection.InOut, "anonymous pipes are unidirectional, caller should have verified before calling Init"); 390: this(pipeName, PipeDirection.InOut, 1, PipeTransmissionMode.Byte, PipeOptions.None, 0, 0, null, 395public NamedPipeServerStream(String pipeName, PipeDirection direction) 401public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances) 407public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances, 414public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances, 421public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances, 428public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances, 436public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances, 471public NamedPipeServerStream(String pipeName, PipeDirection direction, int maxNumberOfServerInstances, 532public NamedPipeServerStream(PipeDirection direction, bool isAsync, bool isConnected, SafePipeHandle safePipeHandle) 558private void Create(String fullPipeName, PipeDirection direction, int maxNumberOfServerInstances, 562Debug.Assert(direction >= PipeDirection.In && direction <= PipeDirection.InOut, "invalid pipe direction"); 993: this(".", pipeName, PipeDirection.InOut, PipeOptions.None, TokenImpersonationLevel.None, HandleInheritability.None) { } 998: this(serverName, pipeName, PipeDirection.InOut, PipeOptions.None, TokenImpersonationLevel.None, HandleInheritability.None) { } 1002public NamedPipeClientStream(String serverName, String pipeName, PipeDirection direction) 1007public NamedPipeClientStream(String serverName, String pipeName, PipeDirection direction, 1013public NamedPipeClientStream(String serverName, String pipeName, PipeDirection direction, 1019public NamedPipeClientStream(String serverName, String pipeName, PipeDirection direction, 1055if ((PipeDirection.In & direction) != 0) { 1058if ((PipeDirection.Out & direction) != 0) { 1112private static PipeDirection DirectionFromRights(PipeAccessRights rights) { 1113PipeDirection direction = 0; 1115direction |= PipeDirection.In; 1118direction |= PipeDirection.Out; 1127public NamedPipeClientStream(PipeDirection direction, bool isAsync, bool isConnected,
System\IO\Pipes\PipeStream.cs (13)
84private PipeDirection m_pipeDirection; 93protected PipeStream(PipeDirection direction, int bufferSize) { 94if (direction < PipeDirection.In || direction > PipeDirection.InOut) { 105protected PipeStream(PipeDirection direction, PipeTransmissionMode transmissionMode, int outBufferSize) { 106if (direction < PipeDirection.In || direction > PipeDirection.InOut) { 119private void Init(PipeDirection direction, PipeTransmissionMode transmissionMode, int outBufferSize) { 120Debug.Assert(direction >= PipeDirection.In && direction <= PipeDirection.InOut, "invalid pipe direction"); 130if ((m_pipeDirection & PipeDirection.In) != 0) { 133if ((m_pipeDirection & PipeDirection.Out) != 0) { 894if (m_pipeDirection == PipeDirection.Out) {