NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Debug.WriteLine (String, String)

Writes a category name and message followed by a line terminator to the trace listeners in the Listeners collection. The default line terminator is a carriage return followed by a line feed ("\r\n").

[Visual Basic]
Overloads Public Shared Sub WriteLine( _
   ByVal message As String, _
   ByVal category As String _
)
[C#]
public static void WriteLine(
   string message,
   string category
);
[C++]
public: static void WriteLine(
   String* message,
   String* category
);
[JScript]
public static function WriteLine(
   message : String,
   category : String
);

Parameters

message
A message to write.
category
A category name to write.

Remarks

By default, the output is written to the managed code debuggers, the Microsoft.Win32.Interop.Windows.OutputDebugString API and to the Log method.

The category can be used to group output messages.

See Also

Debug Class | Debug Members | System.Diagnostics Namespace | Debug.WriteLine Overload List | Debug | Trace | BooleanSwitch | TraceSwitch | TraceListener | DefaultTraceListener | ConditionalAttribute | ConditionalAttribute