SecurityRulesAttribute(SecurityRuleSet) Constructor
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.
Initializes a new instance of the SecurityRulesAttribute class using the specified rule set value.
public:
SecurityRulesAttribute(System::Security::SecurityRuleSet ruleSet);
public SecurityRulesAttribute (System.Security.SecurityRuleSet ruleSet);
new System.Security.SecurityRulesAttribute : System.Security.SecurityRuleSet -> System.Security.SecurityRulesAttribute
Public Sub New (ruleSet As SecurityRuleSet)
Parameters
- ruleSet
- SecurityRuleSet
One of the enumeration values that specifies the transparency rules set.
Remarks
When you specify the ruleSet
parameter, use Level1 for .NET Framework version 2.0 rules or Level2 for .NET Framework 4 rules. For more information about Level1 behavior, see Security-Transparent Code, Level 1. For information about Level2 behavior, see Security-Transparent Code, Level 2.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για