IAppDomainFactory.Create Method

Definition

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.

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

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

Parameters

module
String

The module containing the Web application.

typeName
String

The type of the Web application.

appId
String

The unique identifier for the Web application.

appPath
String

The path to the Web application's files.

strUrlOfAppOrigin
String

The URL of origin for the Web application.

iZone
Int32

The zone of origin for the Web application.

Returns

A new application domain for the specified Web application.

Applies to