ActivationArguments Class
Provides data for manifest-based activation of an application. This class cannot be inherited.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | ActivationArguments(ActivationContext^) | Initializes a new instance of the ActivationArguments class with the specified activation context. |
![]() | ActivationArguments(ActivationContext^, array<String^>^) | Initializes a new instance of the ActivationArguments class with the specified activation context and activation data. |
![]() | ActivationArguments(ApplicationIdentity^) | Initializes a new instance of the ActivationArguments class with the specified application identity. |
![]() | ActivationArguments(ApplicationIdentity^, array<String^>^) | Initializes a new instance of the ActivationArguments class with the specified application identity and activation data. |
| Name | Description | |
|---|---|---|
![]() | ActivationContext | Gets the activation context for manifest-based activation of an application. |
![]() | ActivationData | Gets activation data from the host. |
![]() | ApplicationIdentity | Gets the application identity for a manifest-activated application. |
| Name | Description | |
|---|---|---|
![]() | Clone() | Produces a copy of the current ActivationArguments object.(Overrides EvidenceBase::Clone().) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The ActivationArguments class is used by the AppDomainSetup class.
The manifest-based activation model uses an application manifest rather than an assembly for activation. A manifest fully describes the application, its dependencies, security requirements, and so forth. The manifest model has several advantages over the assembly-based activation model, especially for Web applications. For example, the manifest contains the security requirements of the application, which enables the user to decide whether to allow the application to execute before downloading the code. The manifest also contains information about the application dependencies.
The following code example shows how to obtain the current ActivationArguments object from the AppDomainSetup for the AppDomain of a manifest-based application.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

