ZoneMembershipCondition.Copy Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates an equivalent copy of the membership condition.

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

public IMembershipCondition Copy()

Return Value

Type: System.Security.Policy.IMembershipCondition

A new, identical copy of the current membership condition.

Exception Condition
ArgumentNullException

The SecurityZone property is null.

ArgumentException

The SecurityZone property is not a valid SecurityZone.

.NET Framework
Available since 1.1
Return to top
Show: