OPC Studio User's Guide and Reference
MappingUpdateFailureEventArgs Constructor(Exception,AbstractMappingSource)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveMapping Namespace > MappingUpdateFailureEventArgs Class > MappingUpdateFailureEventArgs Constructor : MappingUpdateFailureEventArgs Constructor(Exception,AbstractMappingSource)
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).

Initializes a new instance of the class, with given exception and the related mapping source.
Syntax
'Declaration
 
Public Function New( _
   ByVal exception As Exception, _
   ByVal mappingSource As AbstractMappingSource _
)
'Usage
 
Dim exception As Exception
Dim mappingSource As AbstractMappingSource
 
Dim instance As New MappingUpdateFailureEventArgs(exception, mappingSource)
public MappingUpdateFailureEventArgs( 
   Exception exception,
   AbstractMappingSource mappingSource
)
public:
MappingUpdateFailureEventArgs( 
   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