Mono Class Library: System.Security.Permissions.ReflectionPermission Overview | MembersSystem.Security.Permissions.ReflectionPermission.Union Method |
Returns a new System.Security.Permissions.ReflectionPermission object that is the union of the current instance and the specified object. [Edit]
|
- other
- A System.Security.Permissions.ReflectionPermission instance to be combined with the current instance. [Edit]
A new System.Security.Permissions.ReflectionPermission instance that represents the union of the current instance and other. If the current instance or other is unrestricted, returns a System.Security.Permissions.ReflectionPermission instance that is unrestricted. If other is null, returns a copy of the current instance. [Edit]
Type Reason ArgumentException The other parameter is not null and is not an instance of System.Security.Permissions.ReflectionPermission . [Edit]
Note:[Edit]The result of a call to ReflectionPermission.Union(System.Security.IPermission) is a permission that represents all of the access to resources represented by both the current instance and other. Any demand that passes either the current instance or other passes their union.
This method overrides System.Security.CodeAccessPermission.Union(System.Security.IPermission) and is implemented to support the System.Security.IPermission interface.
Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0