Gets or sets the name of the thread.
A string containing the name of the thread, or null if no name was set.
Type Reason InvalidOperationException A set operation was requested, and the Name property has already been set.
This property is write-once. Once this property has been set to a non-null value, attempts to set this property to a new value cause an exception.
Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0