1 write to writeState
System.ServiceModel (1)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
287this.writeState = new WriteAsyncState();
17 references to writeState
System.ServiceModel (17)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (17)
274Fx.Assert(this.writeState == null || 275this.writeState.Arguments == null || 276this.writeState.Arguments.Count <= 0, 285if (this.writeState == null) 298this.writeState.Set(onWriteCallback, this.writeArgs, this); 299if (this.WriteAsync(this.writeState) == AsyncCompletionResult.Completed) 301this.writeState.Complete(true); 304callback(this.writeState.CompletedSynchronouslyAsyncResult); 307return this.writeState.CompletedSynchronouslyAsyncResult; 310return this.writeState.PendingAsyncResult; 452if (thisPtr.WriteAsync(thisPtr.writeState) == AsyncCompletionResult.Completed) 476thisPtr.writeState.Complete(false, completionException); 483IAsyncResult returnResult = thisPtr.writeState.PendingAsyncResult; 484AsyncCallback callback = thisPtr.writeState.Arguments.Callback; 485thisPtr.writeState.Arguments.Callback = null; 497if (this.writeState != null) 499this.writeState.ThrowOnException();