ZoneMembershipCondition.Check(Evidence) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.