DOFOperationSetwaitResult Method OpenDOF Object Access Library
Wait for the operation to become acknowledged, then return its result.

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

C#
public abstract DOFResult<DOFValue_Void> waitResult(
	int timeout
)

Parameters

timeout
Type: SystemInt32
Maximum time to wait, in milliseconds, for the result. Must be >= 0.

Return Value

Type: DOFResultDOFValue_Void
the result.
Exceptions

ExceptionCondition
DOFExceptionif the operation resulted in an exception.
DOFException
Remarks

Wait for the operation to become acknowledged, then return its result. If the operation is already complete, this will return immediately.

NOTE: For multicast operations, this returns the first result only. Implement SetOperationListener to get multiple results.

See Also

Reference