ZoneMembershipCondition.Check Method (Evidence)

 
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.

Determines whether the specified evidence satisfies the membership condition.

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

abstract Check : 
        evidence:Evidence -> bool
override Check : 
        evidence:Evidence -> bool

Parameters

evidence
Type: System.Security.Policy.Evidence

The evidence set against which to make the test.

Return Value

Type: System.Boolean

true if the specified evidence satisfies the membership condition; otherwise, false.

Exception Condition
ArgumentNullException

The SecurityZone property is null.

ArgumentException

The SecurityZone property is not a valid SecurityZone.

This membership condition tests only the Zone evidence object.

.NET Framework
Available since 1.1
Return to top
Show: