Condividi tramite


CacheStoreProvider.AddDependent(String, CacheDependency, DateTime) Metodo

Definizione

Aggiunge un'entità dipendente nella 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

Parametri

key
String

Chiave.

dependency
CacheDependency

Elemento dipendente.

utcLastUpdated
DateTime

Restituisce

Ora in cui è stata creata la voce padre, se viene chiusa; in caso contrario DateTimeDateTime.MinValue.

Si applica a