Check Method

ZoneMembershipCondition.Check Method (Evidence)

 

Determines whether the specified evidence satisfies the membership condition.

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

public bool Check(
	Evidence evidence
)

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:
© 2016 Microsoft