3
我有一个这样的异步方法C#5异步方法完成事件。
public async void Method()
{
await // Long run method
}
当林调用这个方法我可以当这个方法完成了事件?
public void CallMethod()
{
Method();
// Here I need an event once the Method() finished its process and returned.
}
thankx ...“task.ContinueWith(...);”是我想要的东西.. – Sency