AspNetHostingPermission.Intersect Method
.NET Framework 3.0
When implemented by a derived class, creates and returns a permission that is the intersection of the current permission and the specified permission.
Namespace: System.Web
Assembly: System (in system.dll)
Assembly: System (in system.dll)
public IPermission Intersect ( IPermission target )
public override function Intersect ( 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 intersection of the current permission and the specified permission; otherwise, a null reference (Nothing in Visual Basic) if the intersection is empty.| Exception type | Condition |
|---|---|
| target is not an AspNetHostingPermission. |
Community Additions
ADD
Show: