Click to Rate and Give Feedback
MSDN
MSDN Library
Collapse All/Expand All Collapse All
.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)

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

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.

System..::.Attribute
  System..::.Object
    System.Security..::.SecurityTreatAsSafeAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker