Interface IResourceService
Represents the Telerik Reporting resource service.
Namespace: Telerik.Reporting.Service
Assembly: Telerik.Reporting.Service.dll
Syntax
public interface IResourceService
Remarks
The IResourceService is intended for internal use only.
Methods
Export(String, String, String, String)
Retrieves a report document.
Declaration
Stream Export(string format, string report, string deviceInfo, string parameterValues)
Parameters
System.String
format
The render format. |
System.String
report
The System.Type.AssemblyQualifiedName of the report type to render. |
System.String
deviceInfo
JSON-formatted dictionary (key/value pairs) with DeviceInfo settings for the current render format. |
System.String
parameterValues
JSON-formatter (key/value pairs) with the parameter values for the current report. |
Returns
System.IO.Stream
|
Remarks
Requires HTTP GET request.
ExportCachedReport(String, String, String)
Retrieves a report document for previously rendered and cached report using IReportService.RenderAndCache operation.
Declaration
Stream ExportCachedReport(string instanceID, string format, string deviceInfo)
Parameters
System.String
instanceID
The unique identifier of the rendering session as returned by a previous call to a RenderAndCache operation. |
System.String
format
The render format. |
System.String
deviceInfo
JSON-formatted dictionary (key/value pairs) with DeviceInfo settings for the current render format. |
Returns
System.IO.Stream
|
Remarks
Requires HTTP GET request.
GetRenderStream(String, String)
Retrieves a render stream created during a report rendering session.
Declaration
Stream GetRenderStream(string instanceID, string name)
Parameters
System.String
instanceID
The unique identifier of the rendering session that the resource belongs to. |
System.String
name
The name of the resource. |
Returns
System.IO.Stream
|
Remarks
Requires HTTP GET request.