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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.OperationModel Namespace > HandleArguments Class > HandleArguments Constructor : HandleArguments Constructor(Int32,Object)
Integer handle that is an argument to the operation.
User-defined state object.

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

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

Parameters

handle
Integer handle that is an argument to the operation.
state
User-defined state object.

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