When overridden in a derived class, creates a permission that is the union of the current permission and the specified permission.
A new permission that represents the union of the current permission and the specified permission.
Type Reason ArgumentException other is not of type System.Security.CodeAccessPermission . NotSupportedException other is not null.
The result of a call to CodeAccessPermission.Union(IPermission) is a permission that represents all the operations represented by both the current permission and the specified permission. Any demand that passes either permission passes their union.