Export (0) Print
Expand All

PolicyLevel.CreateAppDomainLevel Method

Creates a new policy level for use at the application domain policy level.

[Visual Basic]
Public Shared Function CreateAppDomainLevel() As PolicyLevel
[C#]
public static PolicyLevel CreateAppDomainLevel();
[C++]
public: static PolicyLevel* CreateAppDomainLevel();
[JScript]
public static function CreateAppDomainLevel() : PolicyLevel;

Return Value

The newly created PolicyLevel.

Remarks

This method creates a new PolicyLevel with the Label "AppDomain". The new PolicyLevel will initially contain the same NamedPermissionSet objects as in the default computer policy, and will have a single root code group that grants FullTrust to all code.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

PolicyLevel Class | PolicyLevel Members | System.Security.Policy Namespace | AppDomain.SetAppDomainPolicy

Show:
© 2014 Microsoft