Editare

Partajați prin


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

Definition

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.

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

public:
 virtual 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
override this.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.

Implements

Applies to

See also