MethodBuilder.IsSecuritySafeCritical 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 IsSecuritySafeCritical { bool get(); };
public override bool IsSecuritySafeCritical { get; }
member this.IsSecuritySafeCritical : bool
Public Overrides ReadOnly Property IsSecuritySafeCritical 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-safe-critical, complete the type by calling TypeBuilder.CreateType, call the GetMethod method on the completed type, and get the IsSecuritySafeCritical property on the resulting MethodInfo.
Applies to
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir