Loads the report definition data from the specified stream and creates a report object from it. The created report's class is also specified in the REPX data format.
The Stream object containing the REPX or XML data to load.
An XtraReport class or its descendant of the type specified in the REPX or XML data.
Deserialization of reports obtained from untrusted parties can trigger execution of malicious code that can either be directly embedded into the report definition, or contained in an external assembly referenced by the report.
To avoid this, we recommend that you use XML serialization instead of CodeDOM and prevent any untrusted third-party libraries from becoming available on the server.
Use this method to create a report instance from the report definition data stored in the specified stream. Note, that to be able to create the report, this method should find the class type of the creating report (the report class's type name is stored in the REPX data header). This type is searched for in the following assemblies:
If this class type is not found, an instance of the XtraReport class is created.