NCache 4.6 - Online Documentation

Removing Data from Cache Asynchronously

The RemoveAsync operation  in NCache allows you to perform a remove operation in the background. In the following example you need to specify the key that has to be removed.
       To utilize the API, include the following namespace in your application: Alachisoft.NCache.Web.Caching.
String key = "Product:1001";
     cache.RemoveAsync(key, null, DSWriteOption.None, null);
catch (Exception ex)
      //handle exception
See Also