.NET Framework Class Library for Silverlight
SecurityTreatAsSafeAttribute Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Identifies the nonpublic SecurityCriticalAttribute members that are accessible by transparent code within the assembly.

Namespace:  System.Security
Assembly:  mscorlib (in mscorlib.dll)

Syntax

Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := False, Inherited := False)> _
Public NotInheritable Class SecurityTreatAsSafeAttribute _
    Inherits Attribute
Visual Basic (Usage)
Dim instance As SecurityTreatAsSafeAttribute
C#
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
public sealed class SecurityTreatAsSafeAttribute : Attribute
Visual C++
[AttributeUsageAttribute(AttributeTargets::All, AllowMultiple = false, Inherited = false)]
public ref class SecurityTreatAsSafeAttribute sealed : public Attribute
JScript
public final class SecurityTreatAsSafeAttribute extends Attribute
Remarks

Types or members that are marked with the SecurityCriticalAttribute attribute and the SecurityTreatAsSafeAttribute attribute can be accessed by types and members within the assembly that are marked with the SecurityTransparentAttribute attribute.

Inheritance Hierarchy

System..::.Attribute
  System..::.Object
    System.Security..::.SecurityTreatAsSafeAttribute
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Reference

Page view tracker