System.Security.FrameSecurityDescriptor.RevertAll C# (CSharp) Method

RevertAll() private method

private RevertAll ( ) : void
return void
        internal void RevertAll()
        {
            RevertAssert();
            RevertAssertAllPossible();
            RevertDeny();
            RevertPermitOnly();
        }

Usage Example

Example #1
0
        internal static void RevertAll(ref StackCrawlMark stackMark)
        {
            FrameSecurityDescriptor securityObjectForFrame = SecurityRuntime.GetSecurityObjectForFrame(ref stackMark, false);

            if (securityObjectForFrame == null)
            {
                throw new InvalidOperationException(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor"));
            }
            securityObjectForFrame.RevertAll();
        }
All Usage Examples Of System.Security.FrameSecurityDescriptor::RevertAll