public void relayClientPrivateException(IRelayPrx?r, Current current) { TestHelper.Assert(r != null); IRelayPrx p = current.Connection !.CreateProxy(r.Identity, IRelayPrx.Factory); try { p.clientPrivateException(); } catch (RemoteException ex) { TestHelper.Assert(ex.ConvertToUnhandled); ex.ConvertToUnhandled = false; throw; } TestHelper.Assert(false); }
public void relayClientPrivateException(IRelayPrx?r, Current current) { TestHelper.Assert(r != null); IRelayPrx p = r.Clone(fixedConnection: current.Connection); try { p.clientPrivateException(); } catch (RemoteException ex) { TestHelper.Assert(ex.ConvertToUnhandled); ex.ConvertToUnhandled = false; throw; } TestHelper.Assert(false); }
public ValueTask relayClientPrivateExceptionAsync(IRelayPrx?r, Current current) { TestHelper.Assert(r != null); IRelayPrx p = r.Clone(fixedConnection: current.Connection); try { p.clientPrivateException(); } catch (RemoteException ex) { TestHelper.Assert(ex.ConvertToUnhandled); ex.ConvertToUnhandled = false; throw; } TestHelper.Assert(false); return(new ValueTask(Task.CompletedTask)); }
public ValueTask relayClientPrivateExceptionAsync(IRelayPrx?r, Ice.Current current) { Debug.Assert(r != null); IRelayPrx p = current.Connection.CreateProxy(r.Identity, IRelayPrx.Factory); try { p.clientPrivateException(); } catch (RemoteException ex) { test(ex.ConvertToUnhandled); ex.ConvertToUnhandled = false; throw; } test(false); return(new ValueTask(Task.CompletedTask)); }