AppDomainFactory 类

定义

为 Web 应用程序创建一个新的 AppDomain 实例。Creates a new AppDomain instance for the Web application. 此类不能被继承。This class cannot be inherited. 此类由 .NET Framework 的早期版本使用,而不是由其 2.0 版使用,其 2.0 版使用 AppManagerAppDomainFactory 类。This class was used by earlier versions of the .NET Framework than version 2.0, which uses the AppManagerAppDomainFactory class instead.

此 API 支持产品基础结构,不能在代码中直接使用。

public ref class AppDomainFactory sealed : System::Web::Hosting::IAppDomainFactory
public sealed class AppDomainFactory : System.Web.Hosting.IAppDomainFactory
type AppDomainFactory = class
    interface IAppDomainFactory
Public NotInheritable Class AppDomainFactory
Implements IAppDomainFactory
继承
AppDomainFactory
实现

构造函数

AppDomainFactory()

此 API 支持产品基础结构,不能在代码中直接使用。

初始化 AppDomainFactory 类的新实例。Initializes a new instance of the AppDomainFactory class. 此类由 .NET Framework 的早期版本使用,而不是由其 2.0 版使用,其 2.0 版使用 AppManagerAppDomainFactory 类。This class was used by earlier versions of the .NET Framework than version 2.0, which uses the AppManagerAppDomainFactory class instead.

方法

Create(String, String, String, String, String, Int32)

此 API 支持产品基础结构,不能在代码中直接使用。

为指定的 Web 应用程序返回一个新的应用程序域。Returns a new application domain for the specified Web application. 此类由 .NET Framework 的早期版本使用,而不是由其 2.0 版使用,其 2.0 版使用 AppManagerAppDomainFactory 类。This class was used by earlier versions of the .NET Framework than version 2.0, which uses the AppManagerAppDomainFactory class instead.

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅