Exemplo n.º 1
0
        public virtual ValueTask Cancel(InvokeId invokeId, IExecutionContext executionContext, CancellationToken token)
        {
            if (executionContext is null)
            {
                throw new ArgumentNullException(nameof(executionContext));
            }
            if (invokeId is null)
            {
                throw new ArgumentNullException(nameof(invokeId));
            }

            return(executionContext.CancelInvoke(invokeId, token));
        }