By "how does" I mean "by what mechanism" not "to what effect". Control doesn't return to the calling method after you call Server.Transfer("...");. At the language runtime level, how does this happen? Does it throw an exception or trigger something that aborts the thread? I'm just curious. What are other examples of this pattern (calling a method to terminate execution)?
+2
A:
It eventually calls End
which throws a ThreadAbortException
that terminates the current thread of execution. See the documentation here
JaredPar
2010-09-30 18:53:30