ConfigurationPermission.Union Method (IPermission)

 

Returns the logical union of the ConfigurationPermission object and an object that implements the IPermission interface.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public override IPermission Union(
	IPermission target
)

Parameters

target
Type: System.Security.IPermission

The object to perform the union with.

Return Value

Type: System.Security.IPermission

The logical union of the ConfigurationPermission and an object that implements IPermission.

Exception Condition
ArgumentException

target is not typed as ConfigurationPermission.

.NET Framework
Available since 2.0
Return to top
Show: