WaitComplete¶
-
void IUpdatable.WaitComplete(double timeout)¶
Waits until the current transfer completes, or the timeout interval is exceeded.
- Parameters
timeout – Interval in seconds to wait for transfer complete. Negative value means infinite.
- Throws
InvalidArgumentException
– Invalid timeout value (NaN).OutOfResourcesException
– No resources available to wait for transfer completion or file too large for this updatable.TimeoutException
– Timeout interval exceeded while waiting for transfer complete.ReadErrorException
– Error while reading updatable contents (see exception message for details).WriteErrorException
– Error while writing updatable contents (see exception message for details).ChecksumErrorException
– New updatable contents rejected due to invalid checksum.CommunicationErrorException
– Protocol error.ConnectionLostException
– Connection to controller lost.RebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.System.ObjectDisposedException
– Object is disposed.
- Remarks
If there is no transfer active, this method returns immediately. Execution requires one subscription resource.