2 writes to socketAsyncEventArgs
System.ServiceModel (2)
System\ServiceModel\Channels\SocketConnection.cs (2)
2182
this.
socketAsyncEventArgs
= listener.TakeSocketAsyncEventArgs();
2360
this.
socketAsyncEventArgs
= null;
13 references to socketAsyncEventArgs
System.ServiceModel (13)
System\ServiceModel\Channels\SocketConnection.cs (13)
2183
this.
socketAsyncEventArgs
.UserToken = this;
2184
this.
socketAsyncEventArgs
.Completed += acceptAsyncCompleted;
2296
SocketAsyncEventArgsPool.CleanupAcceptSocket(this.
socketAsyncEventArgs
);
2298
if (listenSocket.AcceptAsync(this.
socketAsyncEventArgs
))
2316
Fx.Assert(thisPtr.
socketAsyncEventArgs
== e, "Got wrong socketAsyncEventArgs");
2355
if (this.
socketAsyncEventArgs
!= null)
2357
this.
socketAsyncEventArgs
.UserToken = null;
2358
this.
socketAsyncEventArgs
.Completed -= acceptAsyncCompleted;
2359
this.listener.ReturnSocketAsyncEventArgs(this.
socketAsyncEventArgs
);
2367
if (this.
socketAsyncEventArgs
.SocketError == SocketError.Success)
2369
this.socket = this.
socketAsyncEventArgs
.AcceptSocket;
2370
this.
socketAsyncEventArgs
.AcceptSocket = null;
2374
completionException = new SocketException((int)this.
socketAsyncEventArgs
.SocketError);