Initializes a new instance of the class. Initializes a new instance of the class, with the specified OPC server and item descriptors, data value, and a user-defined state object.
Syntax
'Declaration
Public Function New( _
ByVal As ServerDescriptor, _
ByVal As DAItemDescriptor, _
ByVal As , _
ByVal As Object _
)
'Usage
Dim serverDescriptor As ServerDescriptor
Dim itemDescriptor As DAItemDescriptor
Dim value As
Dim state As Object
Dim instance As New DAItemValueArguments(Of TValue)(serverDescriptor, itemDescriptor, value, state)
public DAItemValueArguments<TValue>(
ServerDescriptor ,
DAItemDescriptor ,
,
object
)
public:
DAItemValueArguments<TValue>(
ServerDescriptor^ ,
DAItemDescriptor^ ,
,
Object^
)
Parameters
- serverDescriptor
- The OPC server involved in the operation.
- itemDescriptor
- The OPC item involved in the operation.
- value
- The value to be written.
- 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 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also