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
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.

Applies to