_AppDomain.SetAppDomainPolicy Method (PolicyLevel)

 

Provides COM objects with version-independent access to the AppDomain.SetAppDomainPolicy method.

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

[SecurityCriticalAttribute]
void SetAppDomainPolicy(
	PolicyLevel domainPolicy
)

Parameters

domainPolicy
Type: System.Security.Policy.PolicyLevel

The security policy level.

SecurityCriticalAttribute

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

.NET Framework
Available since 1.1
Return to top
Show: