DefaultViewLocationCache.InsertViewLocation Method

Definition

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.

Applies to