Langue

CacheStoreProvider.AddDependent(String, CacheDependency, DateTime) Méthode

Définition

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.

S’applique à