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