Bagikan melalui


CacheStoreProvider.AddDependent(String, CacheDependency, DateTime) Metode

Definisi

Menambahkan entitas dependan ke 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

Parameter

key
String

Kuncinya.

dependency
CacheDependency

Item dependen.

utcLastUpdated
DateTime

Mengembalikan

Waktu entri induk dibuat, jika keluar; jika tidak DateTime, DateTime.MinValue.

Berlaku untuk