1 write to asyncReadEventArgs
System.ServiceModel (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
1528this.asyncReadEventArgs = new SocketAsyncEventArgs();
17 references to asyncReadEventArgs
System.ServiceModel (17)
System\ServiceModel\Channels\SocketConnection.cs (17)
354this.SetUserToken(this.asyncReadEventArgs, null); 1162this.SetUserToken(this.asyncReadEventArgs, this); 1184if (offset != this.asyncReadEventArgs.Offset || 1185size != this.asyncReadEventArgs.Count) 1187this.asyncReadEventArgs.SetBuffer(offset, size); 1197this.asyncReadSize = this.asyncReadEventArgs.BytesTransferred; 1246return this.socket.ReceiveAsync(this.asyncReadEventArgs); 1256return this.socket.ReceiveAsync(this.asyncReadEventArgs); 1332if (this.asyncReadEventArgs.SocketError == SocketError.Success) 1337throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SocketException((int)this.asyncReadEventArgs.SocketError)); 1367this.SetUserToken(this.asyncReadEventArgs, null); 1382if (this.asyncReadEventArgs != null) 1384this.asyncReadEventArgs.Completed -= onReceiveAsyncCompleted; 1385this.asyncReadEventArgs.Dispose(); 1520if (this.asyncReadEventArgs == null) 1529this.asyncReadEventArgs.SetBuffer(this.readBuffer, 0, this.readBuffer.Length); 1530this.asyncReadEventArgs.Completed += onReceiveAsyncCompleted;