Used by a Requestor to get a property's value as specified using a
Control
.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public DOFResult<DOFValue> get( DOFInterfaceProperty property, DOFOperationControl control, int timeout )
Parameters
- property
- Type: org.opendof.core.oalDOFInterfaceProperty
The property. Must not be null. - control
- Type: org.opendof.core.oalDOFOperationControl
The control to use for the request. - timeout
- Type: SystemInt32
Maximum time to wait, in milliseconds, to obtain the result of the operation. Must be >= 0.
Return Value
Type: DOFResultDOFValueThe property's value. For broadcast requests, only the first result received is returned -- use beginGet to get multiple results.
Exceptions
Exception | Condition |
---|---|
DOFErrorException | Indicates an error occurred. |
DOFException |
See Also
Reference
beginGet(Property, int)