SiteMembershipCondition.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 against which to make the test.

Return Value

Type: System.Boolean

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

Exception Condition
ArgumentException

The Site property is null.

This membership condition tests only Site evidence.

.NET Framework
Available since 1.1
Return to top
Show: