Bind an OPC server item to a simple control that does not need additional parameters.
The created Subscription object is returned to the user as an argument of the completion handler. The Subscription object allows the user to access properties of the Subscription and call methods of the underlaying classes. NOTE: It is not recommended to use the methods of the Subscription objects. Such calls is handled in the calling thread and may block the user thread for possibly long timeout intervals.
Overload | Description |
---|---|
Subscribe(String,Object,Object,OnBGSubscribe) | Available in the OPCDA.NET Professional Edition only. Bind an OPC server item to a simple control that does not need additional parameters. The created Subscription object is returned to the user as an argument of the completion handler. The Subscription object allows the user to access properties of the Subscription and call methods of the underlaying classes. NOTE: It is not recommended to use the methods of the Subscription objects. Such calls is handled in the calling thread and may block the user thread for possibly long timeout intervals. |
Subscribe(String,Object,Int32,Object,OnBGSubscribe) | Available in the OPCDA.NET Professional Edition only. Bind an OPC server item to an element of a control. The meaning of the index parameter depends on the control. In most cases it's the index of an array element, such as an Item[] element in a ListBox control. The created Subscription object is returned to the user as an argument of the completion handler. The Subscription object allows the user to access properties of the Subscription and call methods of the underlaying classes. NOTE: It is not recommended to use the methods of the Subscription objects. Such calls is handled in the calling thread and may block the user thread for possibly long timeout intervals. |
Subscribe(String,Object,DataBindFormat,Object,OnBGSubscribe) | Available in the OPCDA.NET Professional Edition only. Bind an OPC server item to a simple control that does not need additional parameters. The OPC server item value is transformed and formatted according the definitions in the DataBindFormat parameter. The created Subscription object is returned to the user as an argument of the completion handler. The Subscription object allows the user to access properties of the Subscription and call methods of the underlaying classes. NOTE: It is not recommended to use the methods of the Subscription objects. Such calls is handled in the calling thread and may block the user thread for possibly long timeout intervals. |
Subscribe(String,Object,Int32,DataBindFormat,Object,OnBGSubscribe) | Available in the OPCDA.NET Professional Edition only. Bind an OPC server item to an element of a control.The meaning of the index parameter depends on the control. In most cases it's the index of an array element, such as an Item[] element in a ListBox control. The created Subscription object is returned to the user as an argument of the completion handler. The Subscription object allows the user to access properties of the Subscription and call methods of the underlaying classes. NOTE: It is not recommended to use the methods of the Subscription objects. Such calls is handled in the calling thread and may block the user thread for possibly long timeout intervals. |
Subscribe(String,Object,Int32,Int32,DataBindFormat,Object,OnBGSubscribe) | Available in the OPCDA.NET Professional Edition only. Bind an OPC server item to an element of a control.The meaning of the index parameter depends on the control. In most cases it's the index of an array element, such as an Item[] element in a ListBox control. The created Subscription object is returned to the user as an argument of the completion handler. The Subscription object allows the user to access properties of the Subscription and call methods of the underlaying classes. NOTE: It is not recommended to use the methods of the Subscription objects. Such calls is handled in the calling thread and may block the user thread for possibly long timeout intervals. |
Subscribe(String,Object,String,DataBindFormat,Object,OnBGSubscribe) | Available in the OPCDA.NET Professional Edition only. Create subscription to the named property in any class. The created Subscription object is returned to the user as an argument of the completion handler. The Subscription object allows the user to access properties of the Subscription and call methods of the underlaying classes. NOTE: It is not recommended to use the methods of the Subscription objects. Such calls is handled in the calling thread and may block the user thread for possibly long timeout intervals. |