SecurityServices for .NET 2.0 Documentation

SmartcardPermission.Union Method 

[This is preliminary documentation and subject to change.]

Creates a permission that is the union of the current permission and the specified permission.

public override IPermission Union(
   IPermission target
);

Parameters

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

Return Value

A new permission that represents the union of the current permission and the specified permission.

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