ConfigurationPermission.Union Method

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.

Implements

IPermission.Union(IPermission)

ExceptionCondition
ArgumentException

target is not typed as ConfigurationPermission.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft