It typically calls EndAccomplish to obtain the return value of the long - running method .
One can also pass a callback method to BeginAccomplish , to be invoked when the long - running method completes .
BeginAccomplish typically calls EndAccomplish to obtain the return value of the long - running method .
One can also pass a callback method to BeginAccomplish , to be invoked when the long - running method completes .