ZoneIdentityPermission.Union Method (IPermission)
Creates a permission that is the union of the current permission and the specified permission.
Assembly: mscorlib (in mscorlib.dll)
A permission to combine with the current permission. It must be of the same type as the current permission.
Return ValueType: System.Security.IPermission
A new permission that represents the union of the current permission and the specified permission.
Note that aZoneIdentityPermission object representing a NoZone security zone is treated as a null permission and handled as a special case. The union of a ZoneIdentityPermission object representing the NoZone security zone and a null permission is null. The union of two different zone identity permissions results in an ArgumentException exception being thrown when neither of the two permissions represents the NoZone security zone.
Available since 1.1