CacheStoreProvider.AddDependent(String, CacheDependency, DateTime) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute une entité dépendante au cache.
public:
abstract bool AddDependent(System::String ^ key, System::Web::Caching::CacheDependency ^ dependency, [Runtime::InteropServices::Out] DateTime % utcLastUpdated);
public abstract bool AddDependent(string key, System.Web.Caching.CacheDependency dependency, out DateTime utcLastUpdated);
abstract member AddDependent : string * System.Web.Caching.CacheDependency * DateTime -> bool
Public MustOverride Function AddDependent (key As String, dependency As CacheDependency, ByRef utcLastUpdated As DateTime) As Boolean
Paramètres
- key
- String
Clé.
- dependency
- CacheDependency
Élément dépendant.
- utcLastUpdated
- DateTime
Retours
Heure de création de l’entrée parente, si elle se termine ; sinon DateTimeDateTime.MinValue.