AppDomainSetup AppDomainSetup AppDomainSetup AppDomainSetup Constructors

定义

重载

AppDomainSetup() AppDomainSetup() AppDomainSetup()

初始化 AppDomainSetup 类的新实例。Initializes a new instance of the AppDomainSetup class.

AppDomainSetup(ActivationContext) AppDomainSetup(ActivationContext) AppDomainSetup(ActivationContext)

使用指定的激活上下文(用于基于清单的应用程序域激活)初始化 AppDomainSetup 类的新实例。Initializes a new instance of the AppDomainSetup class with the specified activation context to use for manifest-based activation of an application domain.

AppDomainSetup(ActivationArguments) AppDomainSetup(ActivationArguments) AppDomainSetup(ActivationArguments)

使用基于清单的应用程序域激活所需的指定激活参数初始化 AppDomainSetup 类的新实例。Initializes a new instance of the AppDomainSetup class with the specified activation arguments required for manifest-based activation of an application domain.

AppDomainSetup() AppDomainSetup() AppDomainSetup()

初始化 AppDomainSetup 类的新实例。Initializes a new instance of the AppDomainSetup class.

public:
 AppDomainSetup();
public AppDomainSetup ();
Public Sub New ()

AppDomainSetup(ActivationContext) AppDomainSetup(ActivationContext) AppDomainSetup(ActivationContext)

使用指定的激活上下文(用于基于清单的应用程序域激活)初始化 AppDomainSetup 类的新实例。Initializes a new instance of the AppDomainSetup class with the specified activation context to use for manifest-based activation of an application domain.

public:
 AppDomainSetup(ActivationContext ^ activationContext);
public AppDomainSetup (ActivationContext activationContext);
new AppDomainSetup : ActivationContext -> AppDomainSetup

参数

activationContext
ActivationContext ActivationContext ActivationContext ActivationContext

要用于应用程序域的激活上下文。The activation context to be used for an application domain.

异常

activationContextnullactivationContext is null.

注解

ActivationContext对象指定用于activationContext用于生成ActivationArguments对象,其中包含要激活新的应用程序域所需信息。The ActivationContext object specified for activationContext is used to generate an ActivationArguments object containing information required to activate a new application domain. ActivationArguments可以使用访问对象ActivationArguments属性。This ActivationArguments object can be accessed by using the ActivationArguments property.

另请参阅

AppDomainSetup(ActivationArguments) AppDomainSetup(ActivationArguments) AppDomainSetup(ActivationArguments)

使用基于清单的应用程序域激活所需的指定激活参数初始化 AppDomainSetup 类的新实例。Initializes a new instance of the AppDomainSetup class with the specified activation arguments required for manifest-based activation of an application domain.

public:
 AppDomainSetup(System::Runtime::Hosting::ActivationArguments ^ activationArguments);
public AppDomainSetup (System.Runtime.Hosting.ActivationArguments activationArguments);
new AppDomainSetup : System.Runtime.Hosting.ActivationArguments -> AppDomainSetup

参数

activationArguments
ActivationArguments ActivationArguments ActivationArguments ActivationArguments

一个对象,指定以基于清单的方式激活新的应用程序域所需的信息。An object that specifies information required for the manifest-based activation of a new application domain.

异常

activationArgumentsnullactivationArguments is null.

注解

为指定的对象activationArguments可以通过访问ActivationArguments属性。The object specified for activationArguments can be accessed by using the ActivationArguments property.

适用于