public virtual void Shutdown() { ProgressToken p = ShutdownMethod.ShutdownAsync(); p.Wait(); if (p.WaitTimedOut) { createTimeOutException("Shutdown"); } }
public virtual void Start() { ProgressToken p = _proxy.Start(); p.Wait(); if (p.WaitTimedOut) { createTimeOutException("Start"); } }
public ACPITimeoutProgressToken(ProgressToken innerToken, int timeoutMillis) { _innerToken = innerToken; _timeoutMillis = timeoutMillis; }