[This is preliminary documentation and is subject to change.]
A descendant class must override this method and do the following to stop the current thread only:
- Terminate any open connecten (e.g. TCP/IP connection)
- If that doesn't work, Abort the .netThread associated with this object.
This method will be called in a seperate .Net thread (not in the .Net thread of this object).
A seperate thread is used to make sure other threads are not waiting while this code is executed.
| C# | Visual Basic | Visual C++ |
protected abstract void StopCurrentThread()
Protected MustOverride Sub StopCurrentThread
protected: virtual void StopCurrentThread() abstract