IViewLocationCache.InsertViewLocation(HttpContextBase, String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的 HTTP 上下文和缓存键将指定的视图位置插入到缓存中。
public void InsertViewLocation (System.Web.HttpContextBase httpContext, string key, string virtualPath);
abstract member InsertViewLocation : System.Web.HttpContextBase * string * string -> unit
Public Sub InsertViewLocation (httpContext As HttpContextBase, key As String, virtualPath As String)
参数
- httpContext
- HttpContextBase
HTTP 上下文。
- key
- String
缓存键。
- virtualPath
- String
虚拟路径。