SecurityCriticalAttribute Constructors
Definition
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()
Initializes a new instance of the SecurityCriticalAttribute class.
public:
SecurityCriticalAttribute();
public SecurityCriticalAttribute ();
Public Sub New ()
SecurityCriticalAttribute(SecurityCriticalScope)
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.