OPC Studio User's Guide and Reference
Assign(Exception) Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Transfer Namespace > ResultArguments Class > Assign Method : Assign(Exception) Method
The exception to be assigned to these arguments.

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

Assigns Exception to the arguments.
Syntax
'Declaration
 
Public Overloads Overridable Sub Assign( _
   ByVal exception As Exception _
) 
'Usage
 
Dim instance As ResultArguments
Dim exception As Exception
 
instance.Assign(exception)
public virtual void Assign( 
   Exception exception
)
public:
virtual void Assign( 
   Exception^ exception
) 

Parameters

exception
The exception to be assigned to these arguments.

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

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