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.