Skip to content

Commit

Permalink
URL to docs for OutputDebugString instead of vague instructions (dotn…
Browse files Browse the repository at this point in the history
…et#3047)

* URL to docs for OutputDebugString instead of vague instructions

* Use relative link to Windows docs

Co-Authored-By: Ron Petrusha <[email protected]>
  • Loading branch information
svick and Ron Petrusha committed Aug 19, 2019
1 parent 317327e commit 0a116fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xml/System.Diagnostics/DefaultTraceListener.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
## Remarks
An instance of this class is automatically added to the <xref:System.Diagnostics.Debug.Listeners%2A?displayProperty=nameWithType> and <xref:System.Diagnostics.Trace.Listeners%2A?displayProperty=nameWithType> collections. Explicitly adding a second <xref:System.Diagnostics.DefaultTraceListener> causes duplicate messages in the debugger output window and duplicate message boxes for asserts.
By default, the <xref:System.Diagnostics.DefaultTraceListener.Write%2A> and <xref:System.Diagnostics.DefaultTraceListener.WriteLine%2A> methods emit the message to the Win32 `OutputDebugString` function and to the <xref:System.Diagnostics.Debugger.Log%2A?displayProperty=nameWithType> method. For information about the `OutputDebugString` function, see the Platform SDK or MSDN.
By default, the <xref:System.Diagnostics.DefaultTraceListener.Write%2A> and <xref:System.Diagnostics.DefaultTraceListener.WriteLine%2A> methods emit the message to the Win32 [OutputDebugString](/windows/win32/api/debugapi/nf-debugapi-outputdebugstringw) function and to the <xref:System.Diagnostics.Debugger.Log%2A?displayProperty=nameWithType> method.
The <xref:System.Diagnostics.DefaultTraceListener.Fail%2A> method, by default, displays a message box when the application is running in a user interface mode; it also emits the message using <xref:System.Diagnostics.DefaultTraceListener.WriteLine%2A>.
Expand Down

0 comments on commit 0a116fc

Please sign in to comment.