LiquidTechnologies.XmlObjects Namespace / LxValidationException Class / GetObjectData Method
The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

In This Topic
    GetObjectData Method (LxValidationException)
    In This Topic
    When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.
    Syntax
    'Declaration
     
    
    Public Overrides Sub GetObjectData( _
       ByVal info As System.Runtime.Serialization.SerializationInfo, _
       ByVal context As System.Runtime.Serialization.StreamingContext _
    ) 
    public override void GetObjectData( 
       System.Runtime.Serialization.SerializationInfo info,
       System.Runtime.Serialization.StreamingContext context
    )

    Parameters

    info
    The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
    context
    The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.
    Exceptions
    ExceptionDescription
    The info parameter is a null reference (Nothing in Visual Basic).
    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