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