OPC Studio User's Guide and Reference
RaiseUpdateFailure Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveMapping Namespace > AbstractMapper Class : RaiseUpdateFailure Method
The exception that has caused the update failure.

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

The mapping source for which the update has failed.

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

Raises the UpdateFailure event.
Syntax
'Declaration
 
Public Sub RaiseUpdateFailure( _
   ByVal exception As Exception, _
   ByVal mappingSource As AbstractMappingSource _
) 
'Usage
 
Dim instance As AbstractMapper
Dim exception As Exception
Dim mappingSource As AbstractMappingSource
 
instance.RaiseUpdateFailure(exception, mappingSource)
public void RaiseUpdateFailure( 
   Exception exception,
   AbstractMappingSource mappingSource
)
public:
void RaiseUpdateFailure( 
   Exception^ exception,
   AbstractMappingSource^ mappingSource
) 

Parameters

exception
The exception that has caused the update failure.

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

mappingSource
The mapping source for which the update has failed.

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