This documentation is archived and is not being maintained.
AspNetHostingPermission.IsSubsetOf Method
.NET Framework 1.1
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.
Returns a value indicating whether the current permission is a subset of the specified permission.
[Visual Basic] Overrides Public Function IsSubsetOf( _ ByVal target As IPermission _ ) As Boolean Implements IPermission.IsSubsetOf [C#] public override bool IsSubsetOf( IPermission target ); [C++] public: bool IsSubsetOf( IPermission* target ); [JScript] public override function IsSubsetOf( target : IPermission ) : Boolean;
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.
Implements
Exceptions
| Exception Type | Condition |
|---|---|
| ArgumentException | target is not an AspNetHostingPermission object. |
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
AspNetHostingPermission Class | AspNetHostingPermission Members | System.Web Namespace
Show: