vb.net - Sequential procedures inside DoWork BackgroundWorker -
i'm looking run sequential sub procedures in background thread. , wondering if permissible such creating background worker , calling each procedure separately so...
private sub bgw_dowork(byval sender system.object, byval e doworkeventargs) _handles bgw.dowork procedure1() procedure2() procedure3() end sub
will run each procedure in background thread?
also, reading other posts suggested use list<svncommand>
, pass them runworkerasync
in c#, while others suggested using tasks
method, both of have no knowledge of. of these 2 work , they?
no, not necessary put each subroutine in own backgroundworker. regularly call multiple subroutines dowork handler. subroutines called handler execute in background thread.
Comments
Post a Comment