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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.OperationModel Namespace > HandleArguments Class > HandleArguments Constructor : HandleArguments Constructor(OperationArguments,Int32)
Arguments to be copied from.

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

Integer handle that is an argument to the operation.
Initializes a new copy of the HandleArguments object from the OperationArguments object, and specified handle value.
Syntax
'Declaration
 
Public Function New( _
   ByVal operationArguments As OperationArguments, _
   ByVal handle As Integer _
)
'Usage
 
Dim operationArguments As OperationArguments
Dim handle As Integer
 
Dim instance As New HandleArguments(operationArguments, handle)
public HandleArguments( 
   OperationArguments operationArguments,
   int handle
)
public:
HandleArguments( 
   OperationArguments^ operationArguments,
   int handle
)

Parameters

operationArguments
Arguments to be copied from.

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

handle
Integer handle that is an argument to the operation.
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

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