CodeAccessPermission.RevertAssert Method
This page is specific to:.NET Framework Version:1.12.03.03.54.0
.NET Framework Class Library
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()
[C#]
public static void RevertAssert();
[C++]
public: static void RevertAssert();
[JScript]
public static function RevertAssert();

Exceptions

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

Remarks

If there is no Assert for the current frame, an ExecutionEngineException is thrown.

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

CodeAccessPermission Class | CodeAccessPermission Members | System.Security Namespace

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View