'Declaration
Public Overridable Function Terminate( _ ByVal timeout As Integer, _ ByVal forceAbort As Boolean _ ) As Boolean
public virtual bool Terminate( int timeout, bool forceAbort )
Parameters
- timeout
- The number of milliseconds to wait after requesting the termination and before returning.
- forceAbort
- If True, the thread is aborted if it does not terminate itself within the specified timeout interval.
Return Value
True if the thread terminates within the specified time; False if the timeout elapses.