NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HashMembershipCondition.Check

Tests evidence to see if it satisfies the membership condition

[Visual Basic]
Overridable Public Function Check( _
   ByVal evidence As Evidence _
) As Boolean
[C#]
public virtual bool Check(
   Evidence evidence
);
[C++]
public: virtual bool Check(
   Evidence* evidence
);
[JScript]
public function Check(
   evidence : Evidence
) : Boolean;

Parameters

evidence
Evidence the membership condition tests

Exceptions

Exception Type Condition
ArgumentException if the argument is not of type Evidence

Remarks

This membership condition checks the Hash evidence object only. There should be at most one Hash object in the evidence.

See Also

HashMembershipCondition Class | HashMembershipCondition Members | System.Security.Policy Namespace