Resolve policy for the code group and its descendants for a set of evidence. Given evidence for an assembly to be loaded, this method evalutes the code group by first checking the membership condition against the evidence and if it matches returning a policy statement for the code group, including evaluation of child code groups.
The system uses Resolve() on the policy levels to determine what permissions to grant to loaded code from the resultant policy statements and the code request on the assembly.
[Visual Basic] Function Resolve( _ ByVal evidence As Evidence _ ) As PolicyStatement [C#] PolicyStatement Resolve( Evidence evidence ); [C++] PolicyStatement* Resolve( Evidence* evidence ) = 0; [JScript] function Resolve( evidence : Evidence ) : PolicyStatement;
Policy statement consisting of permission granted by the code group, with optional attributes. Or a NULL value if the code group does not apply (membership condition does not match evidence).
Code groups should propagate the resolve operation down through their child code groups according to their particular semantics.
ICodeGroup Interface | ICodeGroup Members | System.Security.Policy Namespace