Redigera

Dela via


CodeGroup.ResolveMatchingCodeGroups(Evidence) Method

Definition

When overridden in a derived class, resolves matching code groups.

public:
 abstract System::Security::Policy::CodeGroup ^ ResolveMatchingCodeGroups(System::Security::Policy::Evidence ^ evidence);
public abstract System.Security.Policy.CodeGroup ResolveMatchingCodeGroups (System.Security.Policy.Evidence evidence);
abstract member ResolveMatchingCodeGroups : System.Security.Policy.Evidence -> System.Security.Policy.CodeGroup
Public MustOverride Function ResolveMatchingCodeGroups (evidence As Evidence) As CodeGroup

Parameters

evidence
Evidence

The evidence for the assembly.

Returns

A CodeGroup that is the root of the tree of matching code groups.

Remarks

This method has the same evaluation characteristics as Resolve. The code group that is returned contains child code groups, which in turn can have child code groups as necessary to reflect the complete set of code groups that were matched by the evidence provided.

Applies to