This documentation is archived and is not being maintained.

AppDomainFactory::Create Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns a new application domain for the specified Web application. This class was used by earlier versions of the .NET Framework than version 2.0, which uses the AppManagerAppDomainFactory class instead.

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

public:
virtual Object^ Create(
	String^ module, 
	String^ typeName, 
	String^ appId, 
	String^ appPath, 
	String^ strUrlOfAppOrigin, 
	int iZone
) sealed

Parameters

module
Type: System::String
The module containing the Web application.
typeName
Type: System::String
The type of the Web application.
appId
Type: System::String
The unique identifier for the Web application.
appPath
Type: System::String
The path to the Web application's files.
strUrlOfAppOrigin
Type: System::String
The URL of origin for the Web application.
iZone
Type: System::Int32
The zone of origin for the Web application.

Return Value

Type: System::Object
A new application domain.

Implements

IAppDomainFactory::Create(String, String, String, String, String, Int32)

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: