Used by a Requestor to invoke (or call) a method.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public DOFResult<IList<DOFValue>> invoke( 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 of the operation. Must be >= 0. 
Return Value
Type: DOFResultIListDOFValueThe method return value. For broadcast requests, only the first result received is returned -- use beginInvoke to get multiple results.
Exceptions
| Exception | Condition | 
|---|---|
| DOFException | Indicates an error occurred. | 
| DOFException | 
Remarks
See Also
Reference
beginInvoke(Method, int, DOFValue[])