6
비동기 void 메소드에 의해 발생 된 예외를 잡아라
Microsoft의 .NET 용 비동기 CTP를 사용하면 호출 방법에서 비동기 방법으로 발생한 예외를 포착 할 수 있습니까? public async void Foo() { var x = await DoSomethingAsync(); /* Handle the result, but sometimes an exception might be thrown. For example, DoSomethingAsync gets data from the network and the data is invalid... …