ApplicationSecurityInfo Constructor

ApplicationSecurityInfo Constructor (ActivationContext)

 

Initializes a new instance of the ApplicationSecurityInfo class using the provided activation context.

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

public ApplicationSecurityInfo(
	ActivationContext activationContext
)

Parameters

activationContext
Type: System.ActivationContext

An ActivationContext object that uniquely identifies the target application.

Exception Condition
ArgumentNullException

activationContext is null.

The ActivationContext object contains an ApplicationIdentity object that uniquely identifies an application by its full name and location.

SecurityCriticalAttribute

requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft