ApplicationPart(Assembly, String) ApplicationPart(Assembly, String) Constructor

Definition

Initializes a new instance of the ApplicationPart class by using the specified assembly and root virtual path.

public ApplicationPart (System.Reflection.Assembly assembly, string rootVirtualPath);
new System.Web.WebPages.ApplicationPart : System.Reflection.Assembly * string -> System.Web.WebPages.ApplicationPart
Parameters
assembly
Assembly Assembly

The assembly.

rootVirtualPath
String String

The root virtual path.

Exceptions

rootVirtualPath is null or empty.

Applies to