OPC Studio User's Guide and Reference
ModelAccessFailure Event



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UAModelClient Class : ModelAccessFailure Event
Raised whenever the model cannot be accessed (getting or setting a value).
Syntax
'Declaration
 
Public Event ModelAccessFailure As EventHandler(Of UAModelAccessFailureEventArgs)
'Usage
 
Dim instance As UAModelClient
Dim handler As EventHandler(Of UAModelAccessFailureEventArgs)
 
AddHandler instance.ModelAccessFailure, handler
public event EventHandler<UAModelAccessFailureEventArgs> ModelAccessFailure
public:
event EventHandler<UAModelAccessFailureEventArgs^>^ ModelAccessFailure
Event Data

The event handler receives an argument of type UAModelAccessFailureEventArgs containing data related to this event. The following UAModelAccessFailureEventArgs properties provide information specific to this event.

PropertyDescription
Attribute Id. Identifies an attribute of a node.  
The OPC-UA server (endpoint) involved in the operation.  
Contains the OpcLabs.BaseLib.FailureEventArgs.Exception carried by the event arguments. (Inherited from OpcLabs.BaseLib.FailureEventArgs)
The descriptor of the OPC-UA node involved in the operation.  
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