we have application creating activity (say = calla), activity used in worklfow project. activity(calla) call method present in class(and namespace). have written sample code method being called below :-
namespace workflowapplication1 { class class1 { public int trial(int a, int b) { return 23; } } }
we want use invokemethod feature provided in toolbox , don't want use codeactivity.
if has used feature of wf 4.0, please help.
thanks in advance.
in target type have point class implements method.
in method name you'll have write name. if method not static, you'll need create variable of class type, initialize in advance , use in targetobject property. you'll need variable in wf store result (using result property on invoke activity)
hope helps
Comments
Post a Comment