'Declaration
<ExtensionAttribute()> Public Overloads Shared Function SubscribeDataSetField( _ ByVal subscriber As IEasyUASubscriber, _ ByVal subscribeDataSetArguments As UASubscribeDataSetArguments, _ ByVal dataSetFieldDescriptor As UADataSetFieldDescriptor, _ ByVal callback As EasyUADataSetFieldMessageEventHandler _ ) As Integer
'Usage
Dim subscriber As IEasyUASubscriber Dim subscribeDataSetArguments As UASubscribeDataSetArguments Dim dataSetFieldDescriptor As UADataSetFieldDescriptor Dim callback As EasyUADataSetFieldMessageEventHandler Dim value As Integer value = IEasyUASubscriberExtension.SubscribeDataSetField(subscriber, subscribeDataSetArguments, dataSetFieldDescriptor, callback)
[Extension()] public static int SubscribeDataSetField( IEasyUASubscriber subscriber, UASubscribeDataSetArguments subscribeDataSetArguments, UADataSetFieldDescriptor dataSetFieldDescriptor, EasyUADataSetFieldMessageEventHandler callback )
[Extension()] public: static int SubscribeDataSetField( IEasyUASubscriber^ subscriber, UASubscribeDataSetArguments^ subscribeDataSetArguments, UADataSetFieldDescriptor^ dataSetFieldDescriptor, EasyUADataSetFieldMessageEventHandler^ callback )
Parameters
- subscriber
- The subscriber object that will perform the operation.
- subscribeDataSetArguments
- Holds all arguments needed to subscribe to a dataset in OPC UA PubSub.
- dataSetFieldDescriptor
- The descriptor for the dataset field.
- callback
- A callback method to be invoked for each time a dataset field is received.
Return Value
Returns a dataset field subscription handle that can be used to change the subscription, obtain its arguments, or unsubscribe.