ConfigurationPermission::Intersect Method (IPermission^)
.NET Framework (current version)
Returns the logical intersection between the ConfigurationPermission object and a given object that implements the IPermission interface.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- target
-
Type:
System.Security::IPermission^
The object containing the permissions to perform the intersection with.
Return Value
Type: System.Security::IPermission^The logical intersection between the ConfigurationPermission and a given object that implements IPermission.
Implements
IPermission::Intersect(IPermission^)| Exception | Condition |
|---|---|
| ArgumentException | target is not typed as ConfigurationPermission. |
Although the method signature accepts any object that implements the IPermission interface, an ArgumentException exception will be thrown if calling the GetType method on the object referenced by the target parameter does not return System.Configuration::ConfigurationPermission.
.NET Framework
Available since 2.0
Available since 2.0
Show: