Keep the exception throwing behavior close to the desktop implementation.
Trace IOException for stream.Read(). Otherwise the IO exception would be wrapped in an AggregateException, which would not be caught by the try-catch around BeginRead() method call. Also unwrap AggregateException in EndRead() and re-throw its inner exception.
Showing
Please register or sign in to comment