RevertAssert Method

PermissionSet.RevertAssert Method ()

 

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

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

public static void RevertAssert()

Exception Condition
InvalidOperationException

There is no previous Assert for the current frame.

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft