thread exeptions
This commit is contained in:
parent
eaaab0db73
commit
39edfcd1bf
|
@ -160,6 +160,8 @@ namespace ConsoleAppTasks
|
||||||
{
|
{
|
||||||
var t = new Task(simple);
|
var t = new Task(simple);
|
||||||
t.Start();
|
t.Start();
|
||||||
|
//t.Exception gab es eine expetion??
|
||||||
|
t.Wait(); //is now main thread expetion
|
||||||
|
|
||||||
Console.WriteLine("Hello");
|
Console.WriteLine("Hello");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue