VGPrincipalPermissionUnion Method
|
Creates a permission that is the union of the current permission and the specified permission.
Namespace:
Novalys.VisualGuard.Security
Assembly:
Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax public IPermission Union(
IPermission other
)
Public Function Union (
other As IPermission
) As IPermission
Parameters
- other
- Type: System.SecurityIPermission
A permission to combine with the current permission. It must be of the same type as the current permission.
Return Value
Type:
IPermissionA new permission that represents the union of the current permission and the specified permission.
Implements
IPermissionUnion(IPermission)Exceptions Exception | Condition |
---|
ArgumentException | The other parameter is an object that is not of the same type as the current permission. |
See Also