- newOwner (Thread)
The TextDocument class is not thread-safe. A document instance expects to have a single owner thread and will throw an InvalidOperationException when accessed from another thread. It is possible to change the owner thread using the method.
The owner can be set to null, which means that no thread can access the document. But, if the document has no owner thread, any thread may take ownership by calling.
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 126.96.36.19938