Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / WorkUnit Class / Cancelled Method
The background worker thread
DoWork event arguments

In This Topic
    Cancelled Method
    In This Topic
    Checks if the user has requested cancellation of the background operation.
    Syntax
    'Declaration
     
    Protected Friend Function Cancelled( _
       ByVal worker As BackgroundWorker, _
       ByVal doWorkEventArgs As DoWorkEventArgs _
    ) As Boolean
    protected internal bool Cancelled( 
       BackgroundWorker worker,
       DoWorkEventArgs doWorkEventArgs
    )

    Parameters

    worker
    The background worker thread
    doWorkEventArgs
    DoWork event arguments

    Return Value

    True if the user has requested cancellation of the background operation.
    See Also