MethodBuilder.IsSecurityCritical Property
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.
Throws a NotSupportedException in all cases.
public:
virtual property bool IsSecurityCritical { bool get(); };
public override bool IsSecurityCritical { get; }
member this.IsSecurityCritical : bool
Public Overrides ReadOnly Property IsSecurityCritical As Boolean
Property Value
Throws a NotSupportedException in all cases.
Exceptions
In all cases. This property is not supported in dynamic assemblies.
Remarks
To determine whether a method in a dynamic assembly is security-critical, complete the type by calling TypeBuilder.CreateType, call the GetMethod method on the completed type, and get the IsSecurityCritical property on the resulting MethodInfo.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.