09-01-2023
This commit is contained in:
@@ -17,7 +17,9 @@ Public Class RunJob
|
||||
Public Function Run(pData As RunJobRequest) As RunJobResponse
|
||||
' This is calling the async function ScheduleJob synchronous, so that we can return a value to the caller
|
||||
' This means that the job might or might not be scheduled when this method returns.
|
||||
#Disable Warning BC42358 ' Da auf diesen Aufruf nicht gewartet wird, wird die Ausführung der aktuellen Methode vor Abschluss des Aufrufs fortgesetzt.
|
||||
Scheduler.ScheduleJob(pData.JobId)
|
||||
#Enable Warning BC42358 ' Da auf diesen Aufruf nicht gewartet wird, wird die Ausführung der aktuellen Methode vor Abschluss des Aufrufs fortgesetzt.
|
||||
|
||||
Return New RunJobResponse()
|
||||
End Function
|
||||
|
||||
Reference in New Issue
Block a user