IAppDomainFactory.Create 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为指定的 Web 应用程序创建一个新的应用程序域。 此接口由 .NET Framework 2.0 以前的版本使用;2.0 版改用 IAppManagerAppDomainFactory 接口。
此 API 支持产品基础结构,不能在代码中直接使用。
public:
 System::Object ^ Create(System::String ^ module, System::String ^ typeName, System::String ^ appId, System::String ^ appPath, System::String ^ strUrlOfAppOrigin, int iZone);
	public object Create(string module, string typeName, string appId, string appPath, string strUrlOfAppOrigin, int iZone);
	abstract member Create : string * string * string * string * string * int -> obj
	Public Function Create (module As String, typeName As String, appId As String, appPath As String, strUrlOfAppOrigin As String, iZone As Integer) As Object
	参数
- module
 - String
 
包含 Web 应用程序的模块。
- typeName
 - String
 
Web 应用程序的类型。
- appId
 - String
 
Web 应用程序的唯一标识符。
- appPath
 - String
 
Web 应用程序文件的路径。
- strUrlOfAppOrigin
 - String
 
Web 应用程序的原始 URL。
- iZone
 - Int32
 
Web 应用程序的起源的区域。
返回
指定的 Web 应用程序的新应用程序域。