The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
CodeAccessPermission::RevertAll Method ()
.NET Framework (current version)
Causes all previous overrides for the current frame to be removed and no longer in effect.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | There is no previous Assert, Deny, or PermitOnly for the current frame. |
If there are no overrides (Assert, Deny, or PermitOnly) for the current frame, an ExecutionEngineException is thrown.
.NET Framework
Available since 1.1
Available since 1.1
Show: