GetResult() private method

Get the result of the work item. If the work item didn't run yet then the caller waits for the result, timeout, or cancel. In case of error the method throws and exception
private GetResult ( int millisecondsTimeout, bool exitContext, WaitHandle cancelWaitHandle ) : object
millisecondsTimeout int
exitContext bool
cancelWaitHandle System.Threading.WaitHandle
return object
Exemplo n.º 1
0
 public object GetResult()
 {
     return(_workItem.GetResult(Timeout.Infinite, true, null));
 }