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!

Trace.Write (Object, String)

Writes a category name and the name of the value parameter to the trace listeners in the Listeners collection.

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

Parameters

value
An Object name is sent to the Listeners.
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

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