System.Security.PermissionSet.RevertAssert Method

Causes any previous CodeAccessPermission.Assert for the current frame to be removed and no longer be 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: 2.0.0.0, 4.0.0.0
Since: .NET 2.0