LiquidTechnologies.XmlObjects Namespace / LxDeserializerErrorHandler Delegate
The error message describing the issue
The severity of the error
The error code providing detail about the issue
The location of the issue in the source XML document
The object the data is being de-serialized into (a Liquid XML Objects generated class)

In This Topic
    LxDeserializerErrorHandler Delegate
    In This Topic
    A callback error handler to deal with errors that occur during the de-serialization of XML data
    Syntax
    'Declaration
     
    
    Public Delegate Sub LxDeserializerErrorHandler( _
       ByVal msg As System.String, _
       ByVal severity As LxErrorSeverity, _
       ByVal errorCode As LxErrorCode, _
       ByVal location As TextLocation, _
       ByVal targetObject As System.Object _
    ) 
    public delegate void LxDeserializerErrorHandler( 
       System.string msg,
       LxErrorSeverity severity,
       LxErrorCode errorCode,
       TextLocation location,
       System.object targetObject
    )

    Parameters

    msg
    The error message describing the issue
    severity
    The severity of the error
    errorCode
    The error code providing detail about the issue
    location
    The location of the issue in the source XML document
    targetObject
    The object the data is being de-serialized into (a Liquid XML Objects generated class)
    Remarks
    The handler either choose to ignore the error or throw an exception to halt the de-serialization process.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also