public async Task OnErrorAsync(Exception exc)
        {
            if (isDisposed)
            {
                throw new ObjectDisposedException(string.Format("{0}-{1}", GetType(), "OnErrorAsync"));
            }

            if (!connectedToRendezvous)
            {
                await ConnectToRendezvous();
            }

            await myExtension.ErrorInStream(stream.InternalStreamId, exc);
        }
Esempio n. 2
0
        public async Task OnErrorAsync(Exception exc)
        {
            if (isDisposed)
            {
                throw new ObjectDisposedException(string.Format("{0}-{1}", GetType(), "OnErrorAsync"));
            }

            _ = RequestContextExtensions.SuppressCurrentCallChainFlow();

            if (!connectedToRendezvous)
            {
                await ConnectToRendezvous();
            }

            await myExtension.ErrorInStream(stream.InternalStreamId, exc);
        }