ActivationArguments::ActivationContext Property

 

Gets the activation context for manifest-based activation of an application.

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

public:
property ActivationContext^ ActivationContext {
	ActivationContext^ get();
}

Property Value

Type: System::ActivationContext^

An object that identifies a manifest-based activation application.

The ActivationContext object contains an ApplicationIdentity and provides internal-only access to the application manifest. The activation context is used during manifest-based activation to set up the domain policy and provide an application-based security model.

The following code example shows how to obtain the value of the ActivationContext property from the ActivationArguments for a manifest-based application.

This code example is part of a larger example provided for the ActivationArguments class.

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

.NET Framework
Available since 2.0
Return to top
Show: