Is there a way to retrieve the object instance associated with the job?


#1

I can’t find anything related from the Job class source code. For example, if I coded like this:

BackgroundJob.Enqueue(()=>myjob.Work());

How can I retrieve the myjob instance from outside?