OutputCacheProviderAsync::AddAsync Method (String^, Object^, DateTime)
Asynchronously inserts the specified entry into the output cache.
Assembly: System.Web (in System.Web.dll)
public: virtual Task<Object^>^ AddAsync( String^ key, Object^ entry, DateTime utcExpiry ) abstract
Parameters
- key
-
Type:
System::String^
A unique identifier for entry.
- entry
-
Type:
System::Object^
The content to add to the output cache.
- utcExpiry
-
Type:
System::DateTime
The time and date on which the cached entry expires.
.NET Framework
Available since 4.6.2
Available since 4.6.2
Show: