In C#.NET, let's take the following example
[WebMethod]
public int TakeAction()
{
try {
//Call method A
Return 1;
} catch (Exception e) {
//Call method B
Return 0;
} finally {
//Call method C
}
}
Now let's say method C is a long running process.
Does the client who invokes TakeAction get back the return value, before method C is invoked, or after it is invoked / completed?