Redigera

Dela via


AppDomainSetup Constructors

Definition

Initializes a new instance of the AppDomainSetup class.

Overloads

AppDomainSetup()

Initializes a new instance of the AppDomainSetup class.

AppDomainSetup(ActivationContext)

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)

Initializes a new instance of the AppDomainSetup class with the specified activation arguments required for manifest-based activation of an application domain.

AppDomainSetup()

Initializes a new instance of the AppDomainSetup class.

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

Applies to

AppDomainSetup(ActivationContext)

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
Public Sub New (activationContext As ActivationContext)

Parameters

activationContext
ActivationContext

The activation context to be used for an application domain.

Exceptions

activationContext is null.

Remarks

The ActivationContext object specified for activationContext is used to generate an ActivationArguments object containing information required to activate a new application domain. This ActivationArguments object can be accessed by using the ActivationArguments property.

See also

Applies to

AppDomainSetup(ActivationArguments)

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
Public Sub New (activationArguments As ActivationArguments)

Parameters

activationArguments
ActivationArguments

An object that specifies information required for the manifest-based activation of a new application domain.

Exceptions

activationArguments is null.

Remarks

The object specified for activationArguments can be accessed by using the ActivationArguments property.

Applies to