Edit

Share via


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

Returns

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

Implements

Exceptions

The SecurityZone property is null.

The SecurityZone property is not a valid SecurityZone.

Remarks

This membership condition tests only the Zone evidence object.

Applies to