Share via


IsAttached Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a value that indicates whether a debugger is attached to the process.

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

Syntax

'Declaration
Public Shared ReadOnly Property IsAttached As Boolean
public static bool IsAttached { get; }
public:
static property bool IsAttached {
    bool get ();
}
static member IsAttached : bool with get
static function get IsAttached () : boolean

Property Value

Type: System. . :: . .Boolean
true if a debugger is attached; otherwise, false.

.NET Framework Security

See Also

Reference

Debugger Class

System.Diagnostics Namespace