Non direi ...Originariamente inviato da MItaly
Il metodo in questione mi pare che corrisponda ad una ExitProcess (così come End), che non so se sia una soluzione pulitissima.
"The End statement stops code execution abruptly, and does not invoke the Dispose or Finalize method, or any other Visual Basic code. Object references held by other programs are invalidated. If an End statement is encountered within a Try or Catch block, control does not pass to the corresponding Finally block."
e anche
"The End statement calls the Exit method of the Environment class in the System namespace. Exit requires that you have UnmanagedCode permission. If you do not, a SecurityException error occurs."

Rispondi quotando