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