53 references to AsyncCompletionResult
dotnet-svcutil-lib (53)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferedConnection.cs (1)
238
public override
AsyncCompletionResult
BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout, Action<object> callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (20)
24
AsyncCompletionResult
BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
31
AsyncCompletionResult
BeginRead(int offset, int size, TimeSpan timeout, Action<object> callback, object state);
77
public virtual
AsyncCompletionResult
BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
103
public virtual
AsyncCompletionResult
BeginRead(int offset, int size, TimeSpan timeout,
170
public override
AsyncCompletionResult
BeginRead(int offset, int size, TimeSpan timeout, Action<object> callback, object state)
181
return
AsyncCompletionResult
.Completed;
332
var
asyncCompletionResult = _connection.BeginWrite(buffer, offset, count, this.Immediate,
334
if (asyncCompletionResult ==
AsyncCompletionResult
.Completed)
381
AsyncCompletionResult
asyncCompletionResult = _connection.BeginRead(0, Math.Min(count, _connection.AsyncReadBufferSize),
384
if (asyncCompletionResult ==
AsyncCompletionResult
.Completed)
549
public
AsyncCompletionResult
BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
568
return
AsyncCompletionResult
.Queued;
585
return
AsyncCompletionResult
.Completed;
667
public
AsyncCompletionResult
BeginRead(int offset, int size, TimeSpan timeout, Action<object> callback, object state)
681
return
AsyncCompletionResult
.Queued;
691
return
AsyncCompletionResult
.Completed;
817
var
result = connection.BeginWrite(buffer, offset, size, immediate, timeout, OnIoComplete, tcs);
818
if (result ==
AsyncCompletionResult
.Completed)
834
var
result = connection.BeginRead(offset, size, timeout, OnIoComplete, tcs);
835
if (result ==
AsyncCompletionResult
.Completed)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (7)
242
if (BeginReadCore(0, 1, _readFinTimeout, s_onWaitForFinComplete, this) ==
AsyncCompletionResult
.Queued)
367
protected override
AsyncCompletionResult
BeginWriteCore(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
393
return
AsyncCompletionResult
.Queued;
398
return
AsyncCompletionResult
.Completed;
626
protected override
AsyncCompletionResult
BeginReadCore(int offset, int size, TimeSpan timeout,
653
return
AsyncCompletionResult
.Queued;
660
return
AsyncCompletionResult
.Completed;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingChannels.cs (3)
88
protected override
AsyncCompletionResult
BeginCloseOutput(TimeSpan timeout, Action<object> callback, object state)
99
protected override
AsyncCompletionResult
StartWritingBufferedMessage(Message message, ArraySegment<byte> messageData, bool allowOutputBatching, TimeSpan timeout, Action<object> callback, object state)
105
protected override
AsyncCompletionResult
StartWritingStreamedMessage(Message message, TimeSpan timeout, Action<object> callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SessionConnectionReader.cs (2)
148
var
result = _connection.BeginRead(0, _buffer.Length, timeoutHelper.RemainingTime(), TaskHelpers.OnAsyncCompletionCallback, tcs);
149
if (result ==
AsyncCompletionResult
.Completed)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (6)
274
public
AsyncCompletionResult
BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
287
protected abstract
AsyncCompletionResult
BeginWriteCore(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
342
public virtual
AsyncCompletionResult
BeginRead(int offset, int size, TimeSpan timeout,
347
var
completionResult = this.BeginReadCore(offset, size, timeout, callback, state);
348
if (completionResult ==
AsyncCompletionResult
.Completed && WcfEventSource.Instance.SocketReadStopIsEnabled())
358
protected abstract
AsyncCompletionResult
BeginReadCore(int offset, int size, TimeSpan timeout,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (5)
488
protected abstract
AsyncCompletionResult
StartWritingBufferedMessage(Message message, ArraySegment<byte> messageData, bool allowOutputBatching, TimeSpan timeout, Action<object> callback, object state);
490
protected abstract
AsyncCompletionResult
BeginCloseOutput(TimeSpan timeout, Action<object> callback, object state);
500
protected abstract
AsyncCompletionResult
StartWritingStreamedMessage(Message message, TimeSpan timeout, Action<object> callback, object state);
534
AsyncCompletionResult
completionResult;
556
if (completionResult ==
AsyncCompletionResult
.Completed)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (9)
186
protected override
AsyncCompletionResult
StartWritingBufferedMessage(Message message, ArraySegment<byte> messageData, bool allowOutputBatching, TimeSpan timeout, Action<object> callback, object state)
213
return
AsyncCompletionResult
.Completed;
217
return
AsyncCompletionResult
.Queued;
226
protected override
AsyncCompletionResult
StartWritingStreamedMessage(Message message, TimeSpan timeout, Action<object> callback, object state)
238
return
AsyncCompletionResult
.Queued;
244
return
AsyncCompletionResult
.Queued;
248
protected override
AsyncCompletionResult
BeginCloseOutput(TimeSpan timeout, Action<object> callback, object state)
259
return
AsyncCompletionResult
.Completed;
263
return
AsyncCompletionResult
.Queued;