1 write to writeOverlapped
System.ServiceModel (1)
System\ServiceModel\Channels\PipeConnection.cs (1)
100
this.
writeOverlapped
= new OverlappedContext();
18 references to writeOverlapped
System.ServiceModel (18)
System\ServiceModel\Channels\PipeConnection.cs (18)
372
this.
writeOverlapped
.StartAsyncOperation(buffer, this.onAsyncWriteComplete, this.isBoundToCompletionPort);
373
if (UnsafeNativeMethods.WriteFile(this.pipe.DangerousGetHandle(), this.
writeOverlapped
.BufferPtr + offset, size, IntPtr.Zero, this.
writeOverlapped
.NativeOverlapped) == 0)
388
this.
writeOverlapped
.CancelAsyncOperation();
398
Exception writeException = Exceptions.GetOverlappedWriteException(this.pipe, this.
writeOverlapped
.NativeOverlapped, out bytesWritten);
588
this.
writeOverlapped
.FreeOrDefer();
735
this.
writeOverlapped
.FreeIfDeferred();
935
if (UnsafeNativeMethods.GetOverlappedResult(this.pipe.DangerousGetHandle(), this.
writeOverlapped
.NativeOverlapped, out numBytes, 0) == 0)
1179
WriteHelper(buffer, offset, size, immediate, timeout, ref this.
writeOverlapped
.Holder[0]);
1259
WriteHelper(buffer, offset, size, immediate, timeout, ref this.
writeOverlapped
.Holder[0]);
1458
StartSyncWrite(buffer, offset, size, ref this.
writeOverlapped
.Holder[0]);
1473
this.
writeOverlapped
.StartSyncOperation(buffer, ref holder);
1474
if (UnsafeNativeMethods.WriteFile(this.pipe.DangerousGetHandle(), this.
writeOverlapped
.BufferPtr + offset, size, IntPtr.Zero, this.
writeOverlapped
.NativeOverlapped) == 0)
1492
this.
writeOverlapped
.CancelSyncOperation(ref holder);
1499
WaitForSyncWrite(timeout, traceExceptionsAsErrors, ref this.
writeOverlapped
.Holder[0]);
1507
if (!this.
writeOverlapped
.WaitForSyncOperation(timeout, ref holder))
1541
writeException = Exceptions.GetOverlappedWriteException(this.pipe, this.
writeOverlapped
.NativeOverlapped, out bytesWritten);