UnionCodeGroup Class
Assembly: mscorlib (in mscorlib.dll)
'Declaration <SerializableAttribute> _ <ComVisibleAttribute(True)> _ Public NotInheritable Class UnionCodeGroup Inherits CodeGroup 'Usage Dim instance As UnionCodeGroup
/** @attribute SerializableAttribute() */ /** @attribute ComVisibleAttribute(true) */ public final class UnionCodeGroup extends CodeGroup
SerializableAttribute ComVisibleAttribute(true) public final class UnionCodeGroup extends CodeGroup
Not applicable.
Code groups are the building blocks of code access security policy. Each policy level consists of a root code group that can have child code groups (and so on), forming a tree. Each code group has a membership condition that determines if a given assembly belongs to it or not, based on the evidence for that assembly. Only code groups whose membership conditions match a given assembly and their child code groups apply policy.
UnionCodeGroup is the most common type of code group; the policy statement of all matching child code groups (and by extension their child code groups) are combined with the permission set of the matching parent code group. Thus, if its membership condition matches, this code group forms the union of its policy statement and those of all its child code groups that also match the evidence.
UnionCodeGroup code groups are the code groups created by the CASPOL utility (see Code Access Security Policy Tool (Caspol.exe)) and the .NET Framework Configuration tool (see .NET Framework Configuration Tool (Mscorcfg.msc)).
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.