Example #1
0
        /// <summary>
        /// This method deletes a tag.
        /// </summary>
        /// <param name="tag">String of less than 40 characters and without spaces or non-ASCII characters</param>
        /// <returns><c>true</c> if the tag was deleted; false otherwise (especially if it does not exist).</returns>
        /// <exception cref="ArgumentException">If the <paramref name="tag"/> is badly formatted.</exception>
        /// <exception cref="CritSendException">In case of soap error, contains the message.</exception>
        public bool DeleteTag(string tag)
        {
            bool result = false;

            CallWebMethod(delegate(Authentication auth)
            {
                result = _client.deleteTag(auth, tag);
            }, true);
            return(result);
        }