ActivationArguments Class
Provides data for manifest-based activation of an application. This class cannot be inherited.
Assembly: mscorlib (in mscorlib.dll)
The ActivationArguments type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ActivationArguments(ActivationContext) | Initializes a new instance of the ActivationArguments class with the specified activation context. |
![]() | ActivationArguments(ApplicationIdentity) | Initializes a new instance of the ActivationArguments class with the specified application identity. |
![]() | ActivationArguments(ActivationContext, array<String>) | Initializes a new instance of the ActivationArguments class with the specified activation context and activation data. |
![]() | 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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
