DOFOperationsetTimeout Method OpenDOF Object Access Library
Set a new timeout value for the operation.

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

C#
public abstract void setTimeout(
	int delay
)

Parameters

delay
Type: SystemInt32
Number of milliseconds from now when the operation should complete. Must be >= 0. If this parameter is zero then the operation will be cancelled. If it is positive then the new timeout will be set.
Remarks

Set a new timeout value for the operation. The timeout is relative to the current time. This routine can lengthen, shorten or cancel an operation based on the input.

This routine may be called inside of OperationListener.complete(DOFOperation, DOFException) to extend the operation. Whether this is possible or not depends on the specific operation and the state of the system.

See Also

Reference