OutputCacheProviderAsync.SetAsync Method (String, Object, DateTime)
Asynchronously Inserts the specified entry into the output cache, overwriting the entry if it is already cached.
Assembly: System.Web (in System.Web.dll)
Public MustOverride Function SetAsync ( key As String, entry As Object, utcExpiry As Date ) As Task
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: