public IgnoreAttribute( FireWallGuardActions skip, int skipCount )
Parameters
- skip
- Tell firewall what rules to skip
- skipCount
- Tells the firewall how often access is granted during a given session
public IgnoreAttribute( FireWallGuardActions skip, int skipCount )
Exception | Description |
---|---|
System.ArgumentException | Skip must be assigned None makes no sense, remove the attribute if no skipping was intended |
System.ArgumentException | Skip count must be 1 or higher |
[Ignore(FireWallSkipChecks.ALL, 5)] [ResponseCache(Duration = 60,VaryByQueryKeys = new[] { "reason" })] public IActionResult Blocked(BlockingReasons reason) { return View(reason); }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2