SecurityServices for .NET 2.0 Documentation

SmartcardPermission.IsSubsetOfMethod

[This is preliminary documentation and subject to change.]

Determines whether the current permission is a subset of the specified permission.

publicoverrideboolIsSubsetOf(
IPermissiontarget
);

Parameters

IPermission
A permission that is to be tested for the subset relationship. This permission must be the same type as the current permission.

Return Value

true if the current permission is a subset of the specified permission; otherwise, false.

Implements

IPermission.

Exceptions

Exception Type Condition
ArgumentException target is not of the same type as the current permission.

See Also

SmartcardPermission Class | Org.Mentalis.SecurityServices.Permissions Namespace