CodeAccessPermission.RevertAssert Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

static member RevertAssert : unit -> unit

Exception Condition

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 1.1
Return to top