private void CallbackAsyncComplete(IntPtr aAsyncHandle) { try { CompleteRequest(aAsyncHandle); } catch (ProxyError aProxyError) { iProxyError = aProxyError; } catch (System.Exception e) { iProxyError = new ProxyError(); Console.WriteLine("ERROR: unexpected exception {0}(\"{1}\") thrown by {2}", e.GetType(), e.Message, e.TargetSite.Name); Console.WriteLine(" Only ProxyError can be thrown by action complete delegates"); } iSem.Release(); }
private void CallbackAsyncComplete(IntPtr aAsyncHandle) { try { CompleteRequest(aAsyncHandle); } catch (ProxyError aProxyError) { iProxyError = aProxyError; } catch (System.Exception e) { iProxyError = new ProxyError(); System.Diagnostics.Debug.WriteLine("WARNING: unexpected exception {0} thrown", new object[] { e }); System.Diagnostics.Debug.WriteLine(" Only ProxyError can be thrown by action complete delegates"); } iSem.Release(); }
private void CallbackAsyncComplete(IntPtr aAsyncHandle) { try { CompleteRequest(aAsyncHandle); } catch (ProxyError aProxyError) { iProxyError = aProxyError; } catch (System.Exception e) { iProxyError = new ProxyError(); Console.WriteLine("ERROR: unexpected exception {0}(\"{1}\") thrown by {2}", e.GetType(), e.Message, e.TargetSite.Name); Console.WriteLine(" Only ProxyError can be thrown by action complete delegates"); } iSem.Release(); }
private void CallbackAsyncComplete(IntPtr aAsyncHandle) { try { CompleteRequest(aAsyncHandle); } catch (ProxyError aProxyError) { iProxyError = aProxyError; } catch (System.Exception e) { iProxyError = new ProxyError(); System.Diagnostics.Debug.WriteLine("WARNING: unexpected exception {0} thrown", new object[] { e }); System.Diagnostics.Debug.WriteLine(" Only ProxyError can be thrown by action complete delegates"); } iSem.Release(); }