OPC Studio User's Guide and Reference
EasyUASubscribeDataSetArguments Constructor(EasyUADataSetMessageEventHandler,Object,UAPubSubResolverDescriptor,String)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.OperationModel Namespace > EasyUASubscribeDataSetArguments Class > EasyUASubscribeDataSetArguments Constructor : EasyUASubscribeDataSetArguments Constructor(EasyUADataSetMessageEventHandler,Object,UAPubSubResolverDescriptor,String)
A callback method to be invoked for each dataset message received.

The value of this parameter can be null (Nothing in Visual Basic).

The state object (can be any value supplied by your code); available in event notifications.

The value of this parameter can be null (Nothing in Visual Basic).

Describes how the PubSub logical information should be resolved to physical.

The value of this parameter cannot be null (Nothing in Visual Basic).

Name of the published dataset.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, specifying the callback, state object, resolver descriptor, and published dataset name.
Syntax
'Declaration
 
Public Function New( _
   ByVal callback As EasyUADataSetMessageEventHandler, _
   ByVal state As Object, _
   ByVal resolverDescriptor As UAPubSubResolverDescriptor, _
   ByVal publishedDataSetName As String _
)
'Usage
 
Dim callback As EasyUADataSetMessageEventHandler
Dim state As Object
Dim resolverDescriptor As UAPubSubResolverDescriptor
Dim publishedDataSetName As String
 
Dim instance As New EasyUASubscribeDataSetArguments(callback, state, resolverDescriptor, publishedDataSetName)

Parameters

callback
A callback method to be invoked for each dataset message received.

The value of this parameter can be null (Nothing in Visual Basic).

state
The state object (can be any value supplied by your code); available in event notifications.

The value of this parameter can be null (Nothing in Visual Basic).

resolverDescriptor
Describes how the PubSub logical information should be resolved to physical.

The value of this parameter cannot be null (Nothing in Visual Basic).

publishedDataSetName
Name of the published dataset.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also