Interface IReportService
The Telerik Report Service interface.
Namespace: Telerik.Reporting.Service.SilverlightClient
Assembly: Telerik.ReportViewer.Silverlight.dll
Syntax
public interface IReportService
Methods
BeginGetPage(String, Int32, AsyncCallback, Object)
Starts an asynchronous GetPage operation. This operation is intended for internal use only.
Declaration
IAsyncResult BeginGetPage(string instanceID, int pageNumber, AsyncCallback callback, object state)
Parameters
System.String
instanceID
The unique identifier of the rendering session as returned by a previous call to RenderAndCache operation. |
System.Int32
pageNumber
The serial number of the page to retrieve. |
System.AsyncCallback
callback
An optional asynchronous callback, to be called when the GetPage is complete. |
System.Object
state
A user-provided object that distinguishes this particular asynchronous GetPage request from other requests. |
Returns
System.IAsyncResult
An System.IAsyncResult that represents the asynchronous GetPage, which could still be pending. |
BeginGetReportParameters(String, NameValueDictionary, NameValueDictionary, AsyncCallback, Object)
Starts an asynchronous GetReportParameters operation. This operation is intended for internal use only.
Declaration
IAsyncResult BeginGetReportParameters(string report, NameValueDictionary deviceInfo, NameValueDictionary parameters, AsyncCallback callback, object state)
Parameters
System.String
report
The System.Type.AssemblyQualifiedName of the report type to render. |
NameValueDictionary
deviceInfo
A NameValueDictionary with settings for the current device. |
NameValueDictionary
parameters
A NameValueDictionary with values for the report parameters. |
System.AsyncCallback
callback
An optional asynchronous callback, to be called when the GetReportParameters is complete. |
System.Object
state
A user-provided object that distinguishes this particular asynchronous GetReportParameters request from other requests. |
Returns
System.IAsyncResult
An System.IAsyncResult that represents the asynchronous GetReportParameters, which could still be pending. |
BeginListAvailableReports(AsyncCallback, Object)
Starts an asynchronous ListAvailableReports operation.
Declaration
IAsyncResult BeginListAvailableReports(AsyncCallback callback, object state)
Parameters
System.AsyncCallback
callback
An optional asynchronous callback, to be called when the ListAvailableReports is complete. |
System.Object
state
A user-provided object that distinguishes this particular asynchronous ListAvailableReports request from other requests. |
Returns
System.IAsyncResult
An System.IAsyncResult that represents the asynchronous ListAvailableReports, which could still be pending. |
BeginListRenderingExtensions(AsyncCallback, Object)
Starts an asynchronous ListRenderingExtensions operation.
Declaration
IAsyncResult BeginListRenderingExtensions(AsyncCallback callback, object state)
Parameters
System.AsyncCallback
callback
An optional asynchronous callback, to be called when the ListRenderingExtensions is complete. |
System.Object
state
A user-provided object that distinguishes this particular asynchronous ListRenderingExtensions request from other requests. |
Returns
System.IAsyncResult
An System.IAsyncResult that represents the asynchronous ListRenderingExtensions, which could still be pending. |
BeginRender(String, String, NameValueDictionary, NameValueDictionary, AsyncCallback, Object)
Starts an asynchronous Render operation.
Declaration
IAsyncResult BeginRender(string format, string report, NameValueDictionary deviceInfo, NameValueDictionary parameters, AsyncCallback callback, object state)
Parameters
System.String
format
The render format. |
System.String
report
The System.Type.AssemblyQualifiedName of the report type to render. |
NameValueDictionary
deviceInfo
A NameValueDictionary with setting for the current render format. |
NameValueDictionary
parameters
A NameValueDictionary with values for the report parameters. |
System.AsyncCallback
callback
An optional asynchronous callback, to be called when the Render is complete. |
System.Object
state
A user-provided object that distinguishes this particular asynchronous Render request from other requests. |
Returns
System.IAsyncResult
An System.IAsyncResult that represents the asynchronous Render, which could still be pending. |
BeginRenderAndCache(String, String, NameValueDictionary, NameValueDictionary, AsyncCallback, Object)
Starts an asynchronous RenderAndCache operation. This operation is intended for internal use only.
Declaration
IAsyncResult BeginRenderAndCache(string format, string report, NameValueDictionary deviceInfo, NameValueDictionary parameters, AsyncCallback callback, object state)
Parameters
System.String
format
The render format. |
System.String
report
The System.Type.AssemblyQualifiedName of the report type to render. |
NameValueDictionary
deviceInfo
A NameValueDictionary with setting for the current render format. |
NameValueDictionary
parameters
A NameValueDictionary with values for the report parameters. |
System.AsyncCallback
callback
An optional asynchronous callback, to be called when the RenderAndCache is complete. |
System.Object
state
A user-provided object that distinguishes this particular asynchronous RenderAndCache request from other requests. |
Returns
System.IAsyncResult
An System.IAsyncResult that represents the asynchronous RenderAndCache, which could still be pending. |
EndGetPage(IAsyncResult)
Waits for the pending asynchronous GetPage to complete.
Declaration
PageInfo EndGetPage(IAsyncResult result)
Parameters
System.IAsyncResult
result
The reference to the pending asynchronous request to finish. |
Returns
PageInfo
A PageInfo. |
EndGetReportParameters(IAsyncResult)
Waits for the pending asynchronous GetReportParameters to complete.
Declaration
List<Parameter> EndGetReportParameters(IAsyncResult result)
Parameters
System.IAsyncResult
result
The reference to the pending asynchronous request to finish. |
Returns
System.Collections.Generic.List<Parameter>
A list of Parameter. |
EndListAvailableReports(IAsyncResult)
Waits for the pending asynchronous ListAvailableReports to complete.
Declaration
IList<ReportInfo> EndListAvailableReports(IAsyncResult result)
Parameters
System.IAsyncResult
result
The reference to the pending asynchronous request to finish. |
Returns
System.Collections.Generic.IList<ReportInfo>
A list with available ReportInfo |
EndListRenderingExtensions(IAsyncResult)
Waits for the pending asynchronous ListRenderingExtensions to complete.
Declaration
IList<ExtensionInfo> EndListRenderingExtensions(IAsyncResult result)
Parameters
System.IAsyncResult
result
The reference to the pending asynchronous request to finish. |
Returns
System.Collections.Generic.IList<ExtensionInfo>
A list with available ExtensionInfo |
EndRender(IAsyncResult)
Waits for the pending asynchronous Render to complete.
Declaration
RenderingResult EndRender(IAsyncResult result)
Parameters
System.IAsyncResult
result
The reference to the pending asynchronous request to finish. |
Returns
RenderingResult |
EndRenderAndCache(IAsyncResult)
Waits for the pending asynchronous RenderAndCache to complete.
Declaration
RenderingSessionInfo EndRenderAndCache(IAsyncResult result)
Parameters
System.IAsyncResult
result
The reference to the pending asynchronous request to finish. |
Returns
RenderingSessionInfo |