DefaultViewLocationCache.InsertViewLocation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts the view in the specified virtual path by using the specified HTTP context, cache key, and virtual path.
public void InsertViewLocation(System.Web.HttpContextBase httpContext, string key, string virtualPath);
abstract member InsertViewLocation : System.Web.HttpContextBase * string * string -> unit
override this.InsertViewLocation : System.Web.HttpContextBase * string * string -> unit
Public Sub InsertViewLocation (httpContext As HttpContextBase, key As String, virtualPath As String)
Parameters
- httpContext
- HttpContextBase
The HTTP context.
- key
- String
The cache key.
- virtualPath
- String
The virtual path
Implements
Exceptions
The httpContext
parameter is null.