DOFObjectbeginInvoke Method (DOFInterfaceMethod, IListDOFValue, Int32)OpenDOF Object Access Library
Used by a Requestor to invoke (or call) a method asynchronously or to invoke a method on multiple providers using an object with the DOFObjectID.BROADCAST ID. Note: Since no InvokeOperationListener is defined the initial result can only be obtained by calling Invoke.waitResult(int) . *
  1. The operation will always wait for the entire timeout period.
  2. Only the initial result will be available. To receive multiple responses specify a listener calling beginInvoke(Method, System.Collections.Generic.IList<E>, int, InvokeOperationListener)

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

C#
public DOFOperationInvoke beginInvoke(
	DOFInterfaceMethod method,
	IList<DOFValue> parameters,
	int timeout
)

Parameters

method
Type: org.opendof.core.oalDOFInterfaceMethod
The method. Must not be null.
parameters
Type: System.Collections.GenericIListDOFValue
The method's parameter list. The data types must match the method's defined parameter types. Null is the same as an empty parameter list.
timeout
Type: SystemInt32
Maximum time to wait, in milliseconds, to obtain the result(s) of the operation. Must be >= 0.

Return Value

Type: DOFOperationInvoke
The invoke operation. Will not be null.
See Also

Reference

invoke(Method, System.Collections.Generic.IList<E>, int)