ActivationArguments Class
Collapse the table of content
Expand the table of content

ActivationArguments Class

Note: This class is new in the .NET Framework version 2.0.

Provides data for manifest-based activation of an application. This class cannot be inherited.

Namespace: System.Runtime.Hosting
Assembly: mscorlib (in mscorlib.dll)

[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public ref class ActivationArguments sealed
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public final class ActivationArguments
SerializableAttribute 
ComVisibleAttribute(true) 
public final class ActivationArguments

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.

No code example is currently available or this language may not be supported.

System.Object
  System.Runtime.Hosting.ActivationArguments

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2016 Microsoft