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 tasksmethod, 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

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -