Class
ServiceDataSource

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public abstract class ServiceDataSource : DataSource, IDataSource

Inheritance: objectMarshalByRefObjectComponentDataSourceServiceDataSource

Derived Classes: GraphQLDataSourceWebServiceDataSource

Implements: IDataSource

Inherited Members DataSource.NameDataSource.DescriptionDataSource.CalculatedFields

Constructors

ServiceDataSource()

Declaration

cs-api-definition
public ServiceDataSource()

Properties

DataEncoding

Gets or sets the data encoding. Default is UTF-8.

Declaration

cs-api-definition
[TypeConverter(typeof(EncodingConverter))]
public Encoding DataEncoding { get; set; }

Property Value

Encoding

DataSelector

Gets or sets the data selector expression which will be used to query and filter the data returned from the web service.

Declaration

cs-api-definition
public string DataSelector { get; set; }

Property Value

string

IgnoreResponseErrors

Gets or sets a value indicating whether to treats any response errors as if no data is returned from the web service.

Declaration

cs-api-definition
public bool IgnoreResponseErrors { get; set; }

Property Value

bool

RequestTimeout

Gets or sets the timespan in seconds to wait before the request times out. Default is 100 seconds. Set the timeout to 0 to configure an infinite timeout.

Declaration

cs-api-definition
public int RequestTimeout { get; set; }

Property Value

int

ServiceUrl

Gets or sets the URL of the request which is going to retrieve the data. Required if WebServiceDataSource.Source is not set.

Declaration

cs-api-definition
public string ServiceUrl { get; set; }

Property Value

string

Source

Gets or sets the local source of the data. Can be the data string itself or a URI where the data is located. Required if WebServiceDataSource.ServiceUrl is not set.

Declaration

cs-api-definition
public object Source { get; set; }

Property Value

object

Methods

AuthenticationEquals(WebServiceAuthentication, WebServiceAuthentication)

Declaration

cs-api-definition
protected static bool AuthenticationEquals(WebServiceAuthentication a1, WebServiceAuthentication a2)

Parameters

a1

WebServiceAuthentication

a2

WebServiceAuthentication

Returns

bool