SecurityRulesAttribute(SecurityRuleSet) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的規則集值,初始化 SecurityRulesAttribute 類別的新執行個體。
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)
參數
- ruleSet
- SecurityRuleSet
其中一個列舉值,指定透明度規則集。
備註
當您指定 參數時 ruleSet
,請使用 Level1 .NET Framework 2.0 版規則或 Level2 .NET Framework 4 個規則。 如需行為的詳細資訊 Level1 ,請參閱 安全性透明程式碼,層級 1。 如需行為的相關資訊 Level2 ,請參閱 安全性透明程式碼,層級 2。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應