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

RevertDeny() private method

private RevertDeny ( ) : void
return void
        internal void RevertDeny()
        {
            if (HasImperativeDenials())
            {
                DecrementOverridesCount();
                m_denials = null;
            }
        }
        

Usage Example

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

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