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

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