MethodBuilder.IsSecurityTransparent 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 IsSecurityTransparent { bool get(); };
public override bool IsSecurityTransparent { get; }
member this.IsSecurityTransparent : bool
Public Overrides ReadOnly Property IsSecurityTransparent 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-transparent, complete the type by calling TypeBuilder.CreateType, call the GetMethod method on the completed type, and get the IsSecurityTransparent property on the resulting MethodInfo.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for