OPC Studio User's Guide and Reference
ValueArguments Constructor(Object,Object)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.OperationModel Namespace > ValueArguments Class > ValueArguments Constructor : ValueArguments Constructor(Object,Object)
User-defined state object.

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

Value that is an argument to the operation.

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

Initializes a new instance of the class with the specified Value, and a user-defined state object.
Syntax
'Declaration
 
Public Function New( _
   ByVal state As Object, _
   ByVal value As Object _
)
'Usage
 
Dim state As Object
Dim value As Object
 
Dim instance As New ValueArguments(state, value)
public ValueArguments( 
   object state,
   object value
)
public:
ValueArguments( 
   Object^ state,
   Object^ value
)

Parameters

state
User-defined state object.

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

value
Value that is an argument to the operation.

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

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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