IAppDomainFactory.Create Method (String, String, String, String, String, Int32)

 

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

Creates a new application domain for the specified Web application. This interface was used by .NET Framework versions earlier than 2.0; version 2.0 uses the IAppManagerAppDomainFactory interface instead.

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

[SecurityPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
object Create(
	string module,
	string typeName,
	string appId,
	string appPath,
	string strUrlOfAppOrigin,
	int iZone
)

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 for the specified Web application.

.NET Framework
Available since 1.1
Return to top
Show: