1 write to asyncWriteEventArgs
System.ServiceModel (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
1545this.asyncWriteEventArgs = new SocketAsyncEventArgs();
13 references to asyncWriteEventArgs
System.ServiceModel (13)
System\ServiceModel\Channels\SocketConnection.cs (13)
869this.SetUserToken(this.asyncWriteEventArgs, this); 875this.asyncWriteEventArgs.SetBuffer(buffer, offset, size); 877if (socket.SendAsync(this.asyncWriteEventArgs)) 928this.SetUserToken(this.asyncWriteEventArgs, null); 946Fx.Assert(eventArgs.BytesTransferred == this.asyncWriteEventArgs.Count, "The socket SendAsync did not send all the bytes."); 968if (this.asyncWriteEventArgs.SocketError == SocketError.Success) 973throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SocketException((int)this.asyncWriteEventArgs.SocketError)); 979if (this.asyncWriteEventArgs != null) 981this.asyncWriteEventArgs.Completed -= onSocketSendCompleted; 982this.asyncWriteEventArgs.Dispose(); 994this.SetUserToken(this.asyncWriteEventArgs, null); 1537if (this.asyncWriteEventArgs == null) 1546this.asyncWriteEventArgs.Completed += onSocketSendCompleted;