# GetObjectData Method

## Overloads

| [GetObjectData(SerializationInfo, StreamingContext)](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.GetObjectData.htm#PIX_QMSAPI_Exceptions_DataValidationException_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_) |  |  |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.GetObjectData.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.Exceptions.DataValidationException.GetObjectData.htm)

## GetObjectData(SerializationInfo, StreamingContext)

### Declaration

```

          public override void GetObjectData(SerializationInfo info, StreamingContext context)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Runtime.Serialization.SerializationInfo | info |  |
| System.Runtime.Serialization.StreamingContext | context |  |

### Overrides

System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)