ITextBuffer.TakeThreadOwnership Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Claims ownership of this buffer for the current thread. All subsequent modifications of this ITextBuffer must be made from the current thread, or else an InvalidOperationException will be raised.
public:
void TakeThreadOwnership();
public:
void TakeThreadOwnership();
void TakeThreadOwnership();
public void TakeThreadOwnership ();
abstract member TakeThreadOwnership : unit -> unit
Public Sub TakeThreadOwnership ()
Exceptions
This method has been called previously from a different thread, or a ITextBufferEdit object is active for this text buffer.