Freigeben über


IAppDomainFactory.Create-Methode

Diese Methode unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung in Code bestimmt.

Erstellt eine neue Anwendungsdomäne für die angegebene Webanwendung. Diese Schnittstelle wurde von .NET Framework-Versionen vor Version 2.0 verwendet. In Version 2.0 wird stattdessen die IAppManagerAppDomainFactory-Schnittstelle verwendet.

Namespace: System.Web.Hosting
Assembly: System.Web (in system.web.dll)

Syntax

'Declaration
Function Create ( _
    <InAttribute> module As String, _
    <InAttribute> typeName As String, _
    <InAttribute> appId As String, _
    <InAttribute> appPath As String, _
    <InAttribute> strUrlOfAppOrigin As String, _
    <InAttribute> iZone As Integer _
) As Object
'Usage
Dim instance As IAppDomainFactory
Dim module As String
Dim typeName As String
Dim appId As String
Dim appPath As String
Dim strUrlOfAppOrigin As String
Dim iZone As Integer
Dim returnValue As Object

returnValue = instance.Create(module, typeName, appId, appPath, strUrlOfAppOrigin, iZone)
Object Create (
    [InAttribute] string module,
    [InAttribute] string typeName,
    [InAttribute] string appId,
    [InAttribute] string appPath,
    [InAttribute] string strUrlOfAppOrigin,
    [InAttribute] int iZone
)
Object^ Create (
    [InAttribute] String^ module, 
    [InAttribute] String^ typeName, 
    [InAttribute] String^ appId, 
    [InAttribute] String^ appPath, 
    [InAttribute] String^ strUrlOfAppOrigin, 
    [InAttribute] int iZone
)
Object Create (
    /** @attribute InAttribute() */ String module, 
    /** @attribute InAttribute() */ String typeName, 
    /** @attribute InAttribute() */ String appId, 
    /** @attribute InAttribute() */ String appPath, 
    /** @attribute InAttribute() */ String strUrlOfAppOrigin, 
    /** @attribute InAttribute() */ int iZone
)
function Create (
    module : String, 
    typeName : String, 
    appId : String, 
    appPath : String, 
    strUrlOfAppOrigin : String, 
    iZone : int
) : Object

Parameter

  • module
    Das Modul, das die Webanwendung enthält.
  • typeName
    Der Typ der Webanwendung.
  • appId
    Der eindeutige Bezeichner für die Webanwendung.
  • appPath
    Der Pfad zu den Dateien der Webanwendung.
  • strUrlOfAppOrigin
    Der ursprüngliche URL der Webanwendung.
  • iZone
    Die ursprüngliche Zone der Webanwendung.

Rückgabewert

Eine neue Anwendungsdomäne für die angegebene Webanwendung.

Plattformen

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

IAppDomainFactory-Schnittstelle
IAppDomainFactory-Member
System.Web.Hosting-Namespace