AspNetHostingPermission.IsSubsetOf Method
.NET Framework 3.0
Returns a value indicating whether the current permission is a subset of the specified permission.
Namespace: System.Web
Assembly: System (in system.dll)
Assembly: System (in system.dll)
public boolean IsSubsetOf ( IPermission target )
public override function IsSubsetOf ( target : IPermission ) : boolean
Not applicable.
Parameters
- target
The IPermission to combine with the current permission. It must be of the same type as the current IPermission.
Return Value
true if the current IPermission is a subset of the specified IPermission; otherwise, false.| Exception type | Condition |
|---|---|
| target is not an AspNetHostingPermission. |
Community Additions
ADD
Show: