This documentation is archived and is not being maintained.

CodeAccessPermission.RevertAssert Method

Causes any previous Assert for the current frame to be removed and no longer in effect.

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


Exception Type Condition
ExecutionEngineException There is no previous Assert for the current frame.


If there is no Assert 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