Exemplo n.º 1
0
        public async ValueTask RelayClientPrivateExceptionAsync(IRelayPrx?r, Current current, CancellationToken cancel)
        {
            TestHelper.Assert(r != null);
            IRelayPrx p = r.Clone(fixedConnection: current.Connection);

            try
            {
                await p.ClientPrivateExceptionAsync(cancel : cancel);
            }
            catch (RemoteException ex)
            {
                TestHelper.Assert(ex.ConvertToUnhandled);
                ex.ConvertToUnhandled = false;
                throw;
            }
            TestHelper.Assert(false);
        }