SecurityServices for .NET 2.0 Documentation

SmartcardPermission.Intersect Method 

[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.

public override IPermission Intersect(
   IPermission target
);

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