Creates a thread-safe wrapper around the specified System.IO.TextWriter instance.
- writer
- The System.IO.TextWriter to synchronize.
A thread-safe System.IO.TextWriter .
Type Reason ArgumentNullException writer is null.
This method returns a class that wraps around the specified System.IO.TextWriter instance and restricts concurrent access to it by multiple threads.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0