ApplicationPart(Assembly, String) Constructor
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.
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
Public Sub New (assembly As Assembly, rootVirtualPath As String)
Parameters
- assembly
- Assembly
The assembly.
- rootVirtualPath
- String
The root virtual path.
Exceptions
rootVirtualPath
is null or empty.