15 references to Completed
ClientSample (2)
Tcp\SocketReceiver.cs (1)
23
_eventArgs.
Completed
+= (_, e) => ((SocketAwaitable)e.UserToken).Complete(e.BytesTransferred, e.SocketError);
Tcp\SocketSender.cs (1)
28
_eventArgs.
Completed
+= (_, e) => ((SocketAwaitable)e.UserToken).Complete(e.BytesTransferred, e.SocketError);
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (4)
494
this._asyncWriteEventArgs.
Completed
-= s_onSocketSendCompleted;
762
this._asyncReadEventArgs.
Completed
-= s_onReceiveAsyncCompleted;
896
this._asyncReadEventArgs.
Completed
+= s_onReceiveAsyncCompleted;
912
this._asyncWriteEventArgs.
Completed
+= s_onSocketSendCompleted;
IIS.Common.TestLib (1)
TestConnections.cs (1)
213
eventArgs.
Completed
+= ReceiveAsyncCompleted;
Microsoft.AspNetCore.InternalTesting (1)
HttpClientSlim.cs (1)
177
socketArgs.
Completed
+= (s, e) => tcs.TrySetResult(e.ConnectSocket);
Sockets.BindTests (2)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
68
socketArgs.
Completed
+= (s, e) => tcs.TrySetResult(e.ConnectSocket);
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (1)
1222
socketArgs.
Completed
+= (s, e) =>
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
68
socketArgs.
Completed
+= (s, e) => tcs.TrySetResult(e.ConnectSocket);
System.Net.HttpListener (1)
System\Net\Managed\HttpEndPointListener.cs (1)
69
args.
Completed
+= OnAccept;
System.Net.Sockets (3)
System\Net\Sockets\Socket.Tasks.cs (2)
352
saea.
Completed
+= (s, e) => CompleteSendReceive((Socket)s!, (TaskSocketAsyncEventArgs<int>)e, isReceive: true);
616
saea.
Completed
+= (s, e) => CompleteSendReceive((Socket)s!, (TaskSocketAsyncEventArgs<int>)e, isReceive: false);
System\Net\Sockets\SocketAsyncEventArgs.cs (1)
219
Completed
?.Invoke(e._currentSocket, e);