AppManagerAppDomainFactory.Create Method (String, String)

 

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.

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

Public Function Create (
	appId As String,
	appPath As String
) As Object

Parameters

appId
Type: System.String

The unique identifier for the new Web application.

appPath
Type: System.String

The path to the new Web application's files.

Return Value

Type: System.Object

A new application domain for the specified Web application.

.NET Framework
Available since 2.0
Return to top
Show: