DOFObjectbeginSet Method (DOFInterfaceProperty, DOFValue, DOFOperationControl, Int32, DOFObjectSetOperationListener, Object)OpenDOF Object Access Library
Used by a Requestor to set a property's value asynchronously as specified using a Control or to set a property's value on multiple providers using an object with the DOFObjectID.BROADCAST ID.

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

C#
public DOFOperationSet beginSet(
	DOFInterfaceProperty property,
	DOFValue value,
	DOFOperationControl control,
	int timeout,
	DOFObjectSetOperationListener operationListener,
	Object context
)

Parameters

property
Type: org.opendof.core.oalDOFInterfaceProperty
the property. Must not be null.
value
Type: org.opendof.core.oalDOFValue
The value of the property to be set. The data type must match the property's data type.
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(s) of the operation. Must be >= 0. NOTE: If the number of responders is unknown, as is typically the case when making requests on an object with the DOFObjectID.BROADCAST ID, then the operation will always wait for the entire timeout period.
operationListener
Type: org.opendof.core.oalDOFObjectSetOperationListener
Listener to receive notification of completion, provider thrown exceptions, etc. May be null -- the initial result may be obtained by calling Set.waitResult(int) . Subsequent results are only reported to the listener.
context
Type: SystemObject
An optional, user-definable object that will be passed back in listeners as a member of DOFOperation. May be null.

Return Value

Type: DOFOperationSet
The set operation. Will not be null.
See Also

Reference

set(Property, DOFValue, int)