public static void RemoveOutputCacheItem (string path, string providerName) { if (path == null) throw new ArgumentNullException ("path"); if (path.Length > 0 && path [0] != '/') throw new ArgumentException ("Invalid path for HttpResponse.RemoveOutputCacheItem: '" + path + "'. An absolute virtual path is expected"); OutputCache.RemoveFromProvider (path, providerName); } #endif
public override void RemoveOutputCacheItem(string path) { HttpResponse.RemoveOutputCacheItem(path); }