| title | ms.custom | ms.date | ms.prod | ms.reviewer | ms.suite | ms.technology | ms.tgt_pltfrm | ms.topic | api_name | api_location | api_type | ms.assetid | caps.latest.revision | author | ms.author | manager | robots | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s_isDebuggerCheckDisabledForTestPurposes Field |
03/30/2017 |
.net-framework |
|
article |
|
|
|
9033a513-c255-4f31-b6d7-09b8d8c50e2d |
6 |
dotnet-bot |
dotnetcontent |
wpickett |
noindex,nofollow |
s_isDebuggerCheckDisabledForTestPurposes Field
This private field in the System.Windows.Diagnostics.VisualDiagnostics class is used by Visual Studio to determine whether an internal check for an active debugger will be performed.
Syntax
private static bool s_isDebuggerCheckDisabledForTestPurposes[!WARNING] API's in the
System.Windows.Diagnostics.VisualDiagnosticsclass are only available when an application is running under a debugger. Sets_isDebuggerCheckDisabledForTestPurposestotrueto access the APIs outside of a debugger.Microsoft does not support the use of this field in a production application under any circumstance.
Requirements
Namespace: xref:System.Windows.Diagnostics
Assembly: PresentationCore (in PresentationCore.dll)
.NET Framework versions: Available since 4.6.