DOFOperationwaitComplete Method (Int32)OpenDOF Object Access Library
Block the current thread until the operation has completed, or until the specified timeout expires.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public abstract void waitComplete(
	int timeout
)

Parameters

timeout
Type: SystemInt32
Maximum time to wait, in milliseconds, for the operation to complete. Must be > = 0.
NOTE: Do not use the same value as the operation's timeout, since this introduces a race condition. Use
DOF.TIMEOUT_NEVER
to block until the operation completes (when an operation times out, it has completed) without introducing this race condition.
Exceptions

ExceptionCondition
DOFExceptionif this operation resulted in an exception.
DOFException
Remarks

Block the current thread until the operation has completed, or until the specified timeout expires. Note that this is not the operation's timeout value but is the maximum time you are willing to wait. Use
DOF.TIMEOUT_NEVER
to use on the operation's timeout value as the maximum wait time. Do not use the same value as the operation's timeout, since this introduces a race condition.
See Also

Reference