SecurityServices for .NET 2.0 Documentation

SmartcardPermission.IntersectMethod

[This is preliminary documentation and subject to change.]

Creates and returns a permission that is the intersection of the current permission and the specified permission.

publicoverrideIPermissionIntersect(
IPermissiontarget
);

Parameters

IPermission
A permission to intersect with the current permission. It must be the same type as the current permission.

Return Value

A new permission that represents the intersection of the current permission and the specified permission. This new permission is a null reference if the intersection is empty.

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