ApplicationPart(Assembly, String) 构造函数

定义

使用指定的程序集和根虚拟路径初始化 类的新实例 ApplicationPart

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)

参数

assembly
Assembly

程序集。

rootVirtualPath
String

根虚拟路径。

例外

rootVirtualPath 为 null 或为空。

适用于