IAppDomainFactory.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為指定的網頁應用程式建立新的應用程式域。 此介面曾被 2.0 之前的 .NET Framework 版本使用;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
包含網頁應用程式的模組。
- typeName
- String
網頁應用程式的類型。
- appId
- String
網頁應用程式的唯一識別碼。
- appPath
- String
通往網頁應用程式檔案的路徑。
- strUrlOfAppOrigin
- String
網頁應用程式的來源網址。
- iZone
- Int32
網頁應用程式的起始區域。
傳回
為指定的網頁應用程式建立一個新的應用程式域。