'Declaration
Public Function New( _ ByVal serverDescriptor As ServerDescriptor, _ ByVal itemDescriptor As DAItemDescriptor, _ ByVal groupParameters As DAGroupParameters, _ ByVal callback As EasyDAItemChangedEventHandler, _ ByVal state As Object _ )
'Usage
Dim serverDescriptor As ServerDescriptor Dim itemDescriptor As DAItemDescriptor Dim groupParameters As DAGroupParameters Dim callback As EasyDAItemChangedEventHandler Dim state As Object Dim instance As New EasyDAItemSubscriptionArguments(serverDescriptor, itemDescriptor, groupParameters, callback, state)
public EasyDAItemSubscriptionArguments( ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor, DAGroupParameters groupParameters, EasyDAItemChangedEventHandler callback, object state )
public: EasyDAItemSubscriptionArguments( ServerDescriptor^ serverDescriptor, DAItemDescriptor^ itemDescriptor, DAGroupParameters^ groupParameters, EasyDAItemChangedEventHandler^ callback, Object^ state )
Parameters
- serverDescriptor
- The OPC server involved in the operation.
- itemDescriptor
- The OPC item involved in the operation.
- groupParameters
- An object containing subscription parameters, such as the requested update rate.
- callback
- A callback method to be invoked for each significant item change.
- state
- The state object (can be any value supplied by your code); available in event notifications.