adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / ThreadBase Class / Terminate Method
The number of milliseconds to wait after requesting the termination and before returning.
If True, the thread is aborted if it does not terminate itself within the specified timeout interval.

In This Topic
    Terminate Method (ThreadBase)
    In This Topic
    Instructs the thread to terminate and waits for the specified number of milliseconds for the thread to finish processing.
    Syntax
    '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.
    See Also