Comment passer d'exception explicitement pour le thread principal en c#

Je suis familier avec le fait que l'exception levée dans un thread, normalement, ne pouvait pas être pris dans un autre thread.
Comment puis-je transférer l'erreur cependant pour le thread principal?

public static void Main()
{
   new Thread (Go).Start();
}

static void Go()
{
  try
  {
    //...
    throw null;    //The NullReferenceException will get caught below
    //...
  }
  catch (Exception ex)
  {
    //Typically log the exception, and/or signal another thread
    //that we've come unstuck
    //...
  }
}

OriginalL'auteur user829174 | 2012-01-08