Maybe you want a before and / or after event handler like with the InvokeWebServiceActivity and Replicator to allow the user do some preconfiguration before the operation / child is executed and retrieve some result after.
Ok. So, how would I make it so that one event would be called before and the other after the call to my activity I understand how this could be useful now.
Workflow Dependency Property - Event handler usage
Foolios
protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext)
{
RaiseEvent(BeforeEvent, this, EventArgs.Empty);
// Do stuff here
RaiseEvent(AfterEvent, this, EventArgs.Empty);
return ActivityExecutionStatus.Closed;
}
iamme
Ying06
Ok. So, how would I make it so that one event would be called before and the other after the call to my activity I understand how this could be useful now.
Thanks!