private ReadCore ( |
||
args | ||
return | void |
void ReadCore(TransportAsyncCallbackArgs args)
{
try
{
while (!this.transport.ReadAsync(args))
{
if (this.HandleReadComplete(args))
{
break;
}
}
}
catch (Exception exception)
{
if (Fx.IsFatal(exception))
{
throw;
}
args.Exception = exception;
this.HandleReadComplete(args);
}
}