Writes a category name and message to the trace listeners in the Listeners collection.
[Visual Basic] Overloads Public Shared Sub Write( _ ByVal message As String, _ ByVal category As String _ ) [C#] public static void Write( string message, string category ); [C++] public: static void Write( String* message, String* category ); [JScript] public static function Write( message : String, category : String );
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.
Trace Class | Trace Members | System.Diagnostics Namespace | Trace.Write Overload List | Debug | Trace | BooleanSwitch | TraceSwitch | TraceListener | DefaultTraceListener | ConditionalAttribute | ConditionalAttribute