OPC Studio User's Guide and Reference
UpdateFailure Event (AbstractMapper)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveMapping Namespace > AbstractMapper Class : UpdateFailure Event
Raised whenever a linking target cannot be updated with a new value.
Syntax
'Declaration
 
Public Event UpdateFailure As EventHandler(Of MappingUpdateFailureEventArgs)
'Usage
 
Dim instance As AbstractMapper
Dim handler As EventHandler(Of MappingUpdateFailureEventArgs)
 
AddHandler instance.UpdateFailure, handler
public event EventHandler<MappingUpdateFailureEventArgs> UpdateFailure
public:
event EventHandler<MappingUpdateFailureEventArgs^>^ UpdateFailure
Event Data

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

PropertyDescription
Contains the OpcLabs.BaseLib.FailureEventArgs.Exception carried by the event arguments. (Inherited from OpcLabs.BaseLib.FailureEventArgs)
The mapping source for which the update has failed.  
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