/// <summary>
        /// Asynchronous Query example.
        /// </summary>
        public override void RunExample(AsyncClient client, Arguments args)
        {
            if (! args.hasUdf) {
                console.Info("Query functions are not supported by the connected Aerospike server.");
                return;
            }

            completed = false;
            string indexName = "asqindex";
            string keyPrefix = "asqkey";
            string binName = args.GetBinName("asqbin");
            int size = 50;

            CreateIndex(client, args, indexName, binName);
            RunQueryExample(client, args, keyPrefix, binName, size);
            WaitTillComplete();
            client.DropIndex(args.policy, args.ns, args.set, indexName);
        }