private object EndTimeoutOp(IOp op, IAsyncResult ar) { object obj2 = null; try { obj2 = op.EndExecute(ar); } catch (Exception exception) { NSTrace.WriteLineError("SocketEx.E (ex): " + exception.ToString()); this.StopTimeoutTrack(exception); throw; } catch { NSTrace.WriteLineError("SocketEx.E (Non CLS ex): " + Environment.StackTrace); this.StopTimeoutTrack(this.NonCLSException); throw; } this.StopTimeoutTrack(null); return(obj2); }
object EndTimeoutOp(IOp op, IAsyncResult ar) { object ret = null; try { ret = op.EndExecute(ar); } catch(Exception e) { NSTrace.WriteLineError("SocketEx.E (ex): " + e.ToString()); StopTimeoutTrack(e); throw; } /* catch { NSTrace.WriteLineError("SocketEx.E (Non CLS ex): " + Environment.StackTrace); StopTimeoutTrack(NonCLSException); throw; } */ StopTimeoutTrack(null); return ret; }