SecurityCriticalAttribute Constructors
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 SecurityCriticalAttribute class.
Overloads
SecurityCriticalAttribute() |
Initializes a new instance of the SecurityCriticalAttribute class. |
SecurityCriticalAttribute(SecurityCriticalScope) |
Initializes a new instance of the SecurityCriticalAttribute class with the specified scope. |
SecurityCriticalAttribute()
- Source:
- SecurityCriticalAttribute.cs
- Source:
- SecurityCriticalAttribute.cs
- Source:
- SecurityCriticalAttribute.cs
Initializes a new instance of the SecurityCriticalAttribute class.
public:
SecurityCriticalAttribute();
public SecurityCriticalAttribute ();
Public Sub New ()
Applies to
SecurityCriticalAttribute(SecurityCriticalScope)
- Source:
- SecurityCriticalAttribute.cs
- Source:
- SecurityCriticalAttribute.cs
- Source:
- SecurityCriticalAttribute.cs
Initializes a new instance of the SecurityCriticalAttribute class with the specified scope.
public:
SecurityCriticalAttribute(System::Security::SecurityCriticalScope scope);
public SecurityCriticalAttribute (System.Security.SecurityCriticalScope scope);
new System.Security.SecurityCriticalAttribute : System.Security.SecurityCriticalScope -> System.Security.SecurityCriticalAttribute
Public Sub New (scope As SecurityCriticalScope)
Parameters
- scope
- SecurityCriticalScope
One of the enumeration values that specifies the scope of the attribute.
Remarks
This constructor is provided for compatibility with the .NET Framework version 2.0 transparency model. It does not apply to the .NET Framework 4. For more information, see Security-Transparent Code, Level 2.
Applies to
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de