AspNetHostingPermission.Union Method
.NET Framework 3.0
Creates a permission that is the union of the current permission and the specified permission.
Namespace: System.Web
Assembly: System (in system.dll)
Assembly: System (in system.dll)
public IPermission Union ( IPermission target )
public override function Union ( target : IPermission ) : IPermission
Not applicable.
Parameters
- target
A permission to combine with the current permission. It must be of the same type as the current permission.
Return Value
An IPermission that represents the union of the current permission and the specified permission.| Exception type | Condition |
|---|---|
| target is not an AspNetHostingPermission. |
Community Additions
ADD
Show: