1 write to pipe
System.ServiceModel (1)
System\ServiceModel\Channels\PipeConnection.cs (1)
95
this.
pipe
= pipe;
14 references to pipe
System.ServiceModel (14)
System\ServiceModel\Channels\PipeConnection.cs (14)
279
if (UnsafeNativeMethods.ReadFile(this.
pipe
.DangerousGetHandle(), this.readOverlapped.BufferPtr + offset, size, IntPtr.Zero, this.readOverlapped.NativeOverlapped) == 0)
305
Exception readException = Exceptions.GetOverlappedReadException(this.
pipe
, this.readOverlapped.NativeOverlapped, out bytesRead);
373
if (UnsafeNativeMethods.WriteFile(this.
pipe
.DangerousGetHandle(), this.writeOverlapped.BufferPtr + offset, size, IntPtr.Zero, this.writeOverlapped.NativeOverlapped) == 0)
398
Exception writeException = Exceptions.GetOverlappedWriteException(this.
pipe
, this.writeOverlapped.NativeOverlapped, out bytesWritten);
586
this.
pipe
.Close();
657
bool success = UnsafeNativeMethods.DuplicateHandle(sourceProcessHandle, this.
pipe
, targetProcessHandle, out duplicatedHandle, 0, false, UnsafeNativeMethods.DUPLICATE_SAME_ACCESS);
674
return
pipe
;
682
ThreadPool.BindHandle(this.
pipe
);
867
if (UnsafeNativeMethods.GetOverlappedResult(this.
pipe
.DangerousGetHandle(), this.readOverlapped.NativeOverlapped, out numBytes, 0) == 0)
935
if (UnsafeNativeMethods.GetOverlappedResult(this.
pipe
.DangerousGetHandle(), this.writeOverlapped.NativeOverlapped, out numBytes, 0) == 0)
1376
if (UnsafeNativeMethods.ReadFile(this.
pipe
.DangerousGetHandle(), this.readOverlapped.BufferPtr + offset, size, IntPtr.Zero, this.readOverlapped.NativeOverlapped) == 0)
1441
readException = Exceptions.GetOverlappedReadException(this.
pipe
, this.readOverlapped.NativeOverlapped, out bytesRead);
1474
if (UnsafeNativeMethods.WriteFile(this.
pipe
.DangerousGetHandle(), this.writeOverlapped.BufferPtr + offset, size, IntPtr.Zero, this.writeOverlapped.NativeOverlapped) == 0)
1541
writeException = Exceptions.GetOverlappedWriteException(this.
pipe
, this.writeOverlapped.NativeOverlapped, out bytesWritten);