Job running in server-side need to invoke a method which runs on client-side
Suppose i hav开发者_JS百科e a job which runs in server-side and a line in the same job needs to run on client-side, Can this be achieved? When I try to run the method WeekofYear in Global class in batch, it is not executed (cause it makes calls to WINApi class methods which can only run on client.)
KIndly Assist.
I can only suggest you to create a new method e.g. Global::weekOfYearServer
and make sure all the WinAPI calls are executed on server - you can try creating appropriate methods in the WinAPIServer
class.
精彩评论