System.Security.CodeAccessPermission.RevertAssert Method

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

Syntax

public static void RevertAssert ()

Remarks

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

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0