SiteMembershipCondition.Check(Evidence) Method

Definition

Determines whether the specified evidence satisfies the membership condition.

public:
 virtual bool Check(System::Security::Policy::Evidence ^ evidence);
public bool Check (System.Security.Policy.Evidence evidence);
abstract member Check : System.Security.Policy.Evidence -> bool
override this.Check : System.Security.Policy.Evidence -> bool
Public Function Check (evidence As Evidence) As Boolean

Parameters

evidence
Evidence

The Evidence against which to make the test.

Returns

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

Implements

Exceptions

The Site property is null.

Remarks

This membership condition tests only Site evidence.

Applies to