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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.OperationModel Namespace > OperationArguments Class > OperationArguments Constructor : OperationArguments Constructor(Object)
The user-defined 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 OperationArguments class with the user-specified State object.
Syntax
'Declaration
 
Public Function New( _
   ByVal state As Object _
)
'Usage
 
Dim state As Object
 
Dim instance As New OperationArguments(state)
public OperationArguments( 
   object state
)
public:
OperationArguments( 
   Object^ state
)

Parameters

state
The user-defined state object (can be any value supplied by your code); available in event notifications.
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