DOFOperationSessionwaitSession Method (Int32)OpenDOF Object Access Library
Wait for the session object to become available, then return it.

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

C#
public abstract DOFObject waitSession(
	int timeout
)

Parameters

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

Return Value

Type: DOFObject
the session object.
Exceptions

ExceptionCondition
DOFErrorExceptionif the timeout expires before the operation is complete or an error occurs creating the session.
DOFErrorException
Remarks

Wait for the session object to become available, then return it. If the object is already available, this will return immediately.
See Also

Reference