im coding a Activity and i have few In Arguments and OutArguments,
public OutArgument<List<xmlsStruct>> OutList { get; set; }
and i have a method called
public List<xmlsStruct> getXMLData(string XMLResponse){
return dataList }
i want to get that data list and assign to my OutArguments,
protected override void Execute(CodeActivityContext context)
{
OutList = context.GetValue(this.getXMLData);
}
im getting error on context saying "has some invalid arguments", how to do this please help thank you.
You code looks a bit incorrect.
As getXMLData is a method you cannot access it from the execution context. You can access it in the traditional manner of calling a method.
So your code for the activity would be something like.
Hope this helps you.