QuickOPC User's Guide and Reference
EasyDAItemSubscriptionArguments<T> Constructor(ServerDescriptor,DAItemDescriptor,DAGroupParameters,Object)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.Generic Namespace > EasyDAItemSubscriptionArguments<T> Class > EasyDAItemSubscriptionArguments<T> Constructor : EasyDAItemSubscriptionArguments<T> Constructor(ServerDescriptor,DAItemDescriptor,DAGroupParameters,Object)
The OPC server involved in the operation.
The OPC item involved in the operation.
An object containing subscription parameters, such as the requested update rate.
The state object (can be any value supplied by your code); available in event notifications.
Initializes a new instance of the class. Initializes a new instance of the class, with the specified OPC server and item descriptors, OPC group parameters, and a user-defined state object.
Syntax
'Declaration
 
Public Function New( _
   ByVal serverDescriptor As ServerDescriptor, _
   ByVal itemDescriptor As DAItemDescriptor, _
   ByVal groupParameters As DAGroupParameters, _
   ByVal state As Object _
)
'Usage
 
Dim serverDescriptor As ServerDescriptor
Dim itemDescriptor As DAItemDescriptor
Dim groupParameters As DAGroupParameters
Dim state As Object
 
Dim instance As New EasyDAItemSubscriptionArguments(Of T)(serverDescriptor, itemDescriptor, groupParameters, 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.
state
The state object (can be any value supplied by your code); available in event notifications.
Requirements

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

See Also

Reference

EasyDAItemSubscriptionArguments<T> Class
EasyDAItemSubscriptionArguments<T> Members
Overload List