'Declaration
<ExtensionAttribute()> Public Overloads Shared Function SubscribeMonitoredItem( _ ByVal client As IEasyUAClient, _ ByVal monitoredItemArguments As UAMonitoredItemArguments, _ ByVal eventCallback As EasyUAEventNotificationEventHandler _ ) As Integer
'Usage
Dim client As IEasyUAClient Dim monitoredItemArguments As UAMonitoredItemArguments Dim eventCallback As EasyUAEventNotificationEventHandler Dim value As Integer value = IEasyUAClientExtension.SubscribeMonitoredItem(client, monitoredItemArguments, eventCallback)
[Extension()] public static int SubscribeMonitoredItem( IEasyUAClient client, UAMonitoredItemArguments monitoredItemArguments, EasyUAEventNotificationEventHandler eventCallback )
[Extension()] public: static int SubscribeMonitoredItem( IEasyUAClient^ client, UAMonitoredItemArguments^ monitoredItemArguments, EasyUAEventNotificationEventHandler^ eventCallback )
Parameters
- client
- The client object that will perform the operation.
This is typically the EasyUAClient object.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - monitoredItemArguments
- Array of arguments, one element per each monitored item involved in the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - eventCallback
- A callback method to be invoked for each event notification.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).