Gets or sets the name of the thread.
A string containing the name of the thread, or null if no name was set.
TypeReasonInvalidOperationExceptionA set operation was requested, and the Name property has already been set.
This property is write-once.