Compartir a través de


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

Definición

Agrega una entidad dependiente a la memoria caché.

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

Parámetros

key
String

Clave.

dependency
CacheDependency

El elemento dependiente.

utcLastUpdated
DateTime

Devoluciones

Hora en que se creó la entrada primaria, si sale; en caso contrario DateTime, DateTime.MinValue.

Se aplica a