• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ReportServiceClient

The proxy to the Telerik Report Service.

Inheritance
System.Object
ReportServiceClient
Namespace: Telerik.Reporting.Service.SilverlightClient
Assembly: Telerik.ReportViewer.Silverlight.dll

Syntax

public class ReportServiceClient : ClientBase<IReportService>

Constructors

ReportServiceClient()

Initializes a new instance of the System.ServiceModel.ClientBase`1 class using the default target endpoint from the application configuration file.

Declaration
public ReportServiceClient()
Exceptions
System.InvalidOperationException

Either there is no default endpoint information in the configuration file, more than one endpoint in the file, or no configuration file.

ReportServiceClient(Binding, EndpointAddress)

Initializes a new instance of the ReportServiceClient class using a specified binding and target address.

Declaration
public ReportServiceClient(Binding binding, EndpointAddress remoteAddress)
Parameters
System.ServiceModel.Channels.Binding binding

The binding used to configure the way that calls are made to the service.

System.ServiceModel.EndpointAddress remoteAddress

The address of the service endpoint.

ReportServiceClient(String)

Initializes a new instance of the ReportServiceClient class using the configuration information specified in the application configuration file by endpointConfigurationName.

Declaration
public ReportServiceClient(string endpointConfigurationName)
Parameters
System.String endpointConfigurationName

The name of the endpoint in the application configuration file.

ReportServiceClient(String, EndpointAddress)

Initializes a new instance of the System.ServiceModel.ClientBase`1 class using the specified target address and endpoint information.

Declaration
public ReportServiceClient(string endpointConfigurationName, EndpointAddress remoteAddress)
Parameters
System.String endpointConfigurationName

The name of the endpoint in the application configuration file.

System.ServiceModel.EndpointAddress remoteAddress

The address of the service.

Exceptions
System.ArgumentNullException

The endpoint is null.

System.ArgumentNullException

The remote address is null.

System.InvalidOperationException

The endpoint cannot be found or the endpoint contract is not valid.

ReportServiceClient(String, String)

Initializes a new instance of the System.ServiceModel.ClientBase`1 class.

Declaration
public ReportServiceClient(string endpointConfigurationName, string remoteAddress)
Parameters
System.String endpointConfigurationName

The name of the endpoint in the application configuration file.

System.String remoteAddress

The address of the service.

Exceptions
System.ArgumentNullException

The endpoint is null.

System.ArgumentNullException

The remote address is null.

System.InvalidOperationException

The endpoint cannot be found or the endpoint contract is not valid.

ReportServiceClient(Uri)

Initializes a new instance of the ReportServiceClient class using a specified binding and target address and BasicHttpBinding.

Declaration
public ReportServiceClient(Uri reportServiceUri)
Parameters
System.Uri reportServiceUri

The address of the service endpoint.

Methods

GetPageAsync(String, Int32)

Starts an asynchronous GetPage operation. This operation is intended for internal use only.

Declaration
public void GetPageAsync(string instanceID, int pageNumber)
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.

GetPageAsync(String, Int32, Object)

Starts an asynchronous GetPage operation. This operation is intended for internal use only.

Declaration
public void GetPageAsync(string instanceID, int pageNumber, object userState)
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.Object userState

A user-provided object that distinguishes this particular asynchronous GetPage request from other requests.

GetReportParametersAsync(String, NameValueDictionary, NameValueDictionary)

Starts an asynchronous GetReportParameters operation. This operation is intended for internal use only.

Declaration
public void GetReportParametersAsync(string report, NameValueDictionary deviceInfo, NameValueDictionary parameters)
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.

GetReportParametersAsync(String, NameValueDictionary, NameValueDictionary, Object)

Starts an asynchronous GetReportParameters operation. This operation is intended for internal use only.

Declaration
public void GetReportParametersAsync(string report, NameValueDictionary deviceInfo, NameValueDictionary parameters, object userState)
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.Object userState

A user-provided object that distinguishes this particular asynchronous GetReportParameters request from other requests.

ListAvailableReportsAsync()

Starts an asynchronous ListAvailableReports operation.

Declaration
public void ListAvailableReportsAsync()

ListAvailableReportsAsync(Object)

Starts an asynchronous ListAvailableReports operation.

Declaration
public void ListAvailableReportsAsync(object userState)
Parameters
System.Object userState

A user-provided object that distinguishes this particular asynchronous ListAvailableReports request from other requests.

ListRenderingExtensionsAsync()

Starts an asynchronous ListRenderingExtensions operation.

Declaration
public void ListRenderingExtensionsAsync()

ListRenderingExtensionsAsync(Object)

Starts an asynchronous ListRenderingExtensions operation.

Declaration
public void ListRenderingExtensionsAsync(object userState)
Parameters
System.Object userState

A user-provided object that distinguishes this particular asynchronous ListRenderingExtensions request from other requests.

RenderAndCacheAsync(String, String, NameValueDictionary, NameValueDictionary)

Starts an asynchronous RenderAndCache operation. This operation is intended for internal use only.

Declaration
public void RenderAndCacheAsync(string format, string report, NameValueDictionary deviceInfo, NameValueDictionary parameters)
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.

RenderAndCacheAsync(String, String, NameValueDictionary, NameValueDictionary, Object)

Starts an asynchronous RenderAndCache operation. This operation is intended for internal use only.

Declaration
public void RenderAndCacheAsync(string format, string report, NameValueDictionary deviceInfo, NameValueDictionary parameters, object userState)
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 settings for the current render format.

NameValueDictionary parameters

A NameValueDictionary with values for the report parameters.

System.Object userState

A user-provided object that distinguishes this particular asynchronous RenderAndCache request from other requests.

RenderAsync(String, String, NameValueDictionary, NameValueDictionary)

Starts an asynchronous Render operation.

Declaration
public void RenderAsync(string format, string report, NameValueDictionary deviceInfo, NameValueDictionary parameters)
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 settings for the current render format.

NameValueDictionary parameters

A NameValueDictionary with values for the report parameters.

RenderAsync(String, String, NameValueDictionary, NameValueDictionary, Object)

Starts an asynchronous Render operation.

Declaration
public void RenderAsync(string format, string report, NameValueDictionary deviceInfo, NameValueDictionary parameters, object userState)
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 settings for the current render format.

NameValueDictionary parameters

A NameValueDictionary with values for the report parameters.

System.Object userState

A user-provided object that distinguishes this particular asynchronous Render request from other requests.

Events

GetPageCompleted

Occurs when the GetPage operation is completed. This event is intended for internal use only.

Declaration
public event EventHandler<GetPageEventArgs> GetPageCompleted
Event Type
System.EventHandler<GetPageEventArgs>

GetReportParametersCompleted

Occurs when the GetReportParameters operation is completed. This event is intended for internal use only.

Declaration
public event EventHandler<GetReportParametersEventArgs> GetReportParametersCompleted
Event Type
System.EventHandler<GetReportParametersEventArgs>

ListAvailableReportsCompleted

Occurs when the ListAvailableReports operation is completed.

Declaration
public event EventHandler<ListAvailableReportsEventArgs> ListAvailableReportsCompleted
Event Type
System.EventHandler<ListAvailableReportsEventArgs>

ListRenderingExtensionsCompleted

Occurs when the ListRenderingExtensions operation is completed.

Declaration
public event EventHandler<ListRenderingExtensionsEventArgs> ListRenderingExtensionsCompleted
Event Type
System.EventHandler<ListRenderingExtensionsEventArgs>

RenderAndCacheCompleted

Occurs when the RenderAndCache operation is completed. This event is intended for internal use only.

Declaration
public event EventHandler<RenderAndCacheEventArgs> RenderAndCacheCompleted
Event Type
System.EventHandler<RenderAndCacheEventArgs>

RenderCompleted

Occurs when the Render operation is completed.

Declaration
public event EventHandler<RenderEventArgs> RenderCompleted
Event Type
System.EventHandler<RenderEventArgs>

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.