Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CodeAccessPermission.RevertAll Method

Causes all previous overrides for the current frame to be removed and no longer in effect.

[Visual Basic]
Public Shared Sub RevertAll()
public static void RevertAll();
public: static void RevertAll();
public static function RevertAll();


Exception Type Condition
ExecutionEngineException There is no previous Assert, Deny, or PermitOnly for the current frame.


If there are no overrides (Assert, Deny, or PermitOnly), for the current frame an ExecutionEngineException is thrown.


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

CodeAccessPermission Class | CodeAccessPermission Members | System.Security Namespace

© 2015 Microsoft