Export (0) Print
Expand All

DebuggerHiddenAttribute Class

Specifies the DebuggerHiddenAttribute. This class cannot be inherited.

For a list of all members of this type, see DebuggerHiddenAttribute Members.

System.Object
   System.Attribute
      System.Diagnostics.DebuggerHiddenAttribute

[Visual Basic]
<AttributeUsage(AttributeTargets.Constructor Or _
   AttributeTargets.Method Or AttributeTargets.Property)>
<Serializable>
NotInheritable Public Class DebuggerHiddenAttribute
   Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.Constructor |
   AttributeTargets.Method | AttributeTargets.Property)]
[Serializable]
public sealed class DebuggerHiddenAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::Constructor |
   AttributeTargets::Method | AttributeTargets::Property)]
[Serializable]
public __gc __sealed class DebuggerHiddenAttribute : public
   Attribute
[JScript]
public
   AttributeUsage(AttributeTargets.Constructor |
   AttributeTargets.Method | AttributeTargets.Property)
 Serializable
class DebuggerHiddenAttribute extends Attribute

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.

Remarks

The common language runtime attaches no semantics to this attribute. It is provided for use by source code debuggers. For example, the Visual Studio .NET debugger does not stop in a method marked with this attribute and does not allow a breakpoint to be set in the method.

For more information about using attributes, see Extending Metadata Using Attributes.

Requirements

Namespace: System.Diagnostics

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

DebuggerHiddenAttribute Members | System.Diagnostics Namespace

Show:
© 2014 Microsoft