Class for creating a connection string that will be used with a REST service instance
Definition
Namespace:Telerik.ReportViewer.Common
Assembly:Telerik.ReportViewer.WinForms.dll
Syntax:
public class RestServiceConnectionInfo : RemoteConnectionInfo
Inheritance: objectReportEngineConnectionInfoBaseRemoteConnectionInfoRestServiceConnectionInfo
Inherited Members
Constructors
Class for creating a connection string that will be used with a REST service instance
public RestServiceConnectionInfo(string uri, bool useDefaultCredentials)
The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports
useDefaultCredentialsboolDetermines if the default credentials will be sent
Class for creating a connection string that will be used with a REST service instance
public RestServiceConnectionInfo(string uri, int timeout)
The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports
timeoutintThe timeout for rendering a document measured in seconds
Class for creating a connection string that will be used with a REST service instance
public RestServiceConnectionInfo(string uri, string token, bool useDefaultCredentials, int timeout, bool keepClientAlive)
The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports
tokenstringAuthentication token to be sent with each request
useDefaultCredentialsboolDetermines if the default credentials will be sent
timeoutintThe timeout for rendering a document measured in seconds
keepClientAliveboolDetermines if the client will be kept alive (will not be expired)
Class for creating a connection string that will be used with a REST service instance
public RestServiceConnectionInfo(string uri, string token, bool useDefaultCredentials, int timeout)
The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports
tokenstringAuthentication token to be sent with each request
useDefaultCredentialsboolDetermines if the default credentials will be sent
timeoutintThe timeout for rendering a document measured in seconds
Class for creating a connection string that will be used with a REST service instance
public RestServiceConnectionInfo(string uri, string token, bool useDefaultCredentials)
The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports
tokenstringAuthentication token to be sent with each request
useDefaultCredentialsboolDetermines if the default credentials will be sent
Class for creating a connection string that will be used with a REST service instance
public RestServiceConnectionInfo(string uri, string token, int timeout)
The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports
tokenstringAuthentication token to be sent with each request
timeoutintThe timeout for rendering a document measured in seconds
Class for creating a connection string that will be used with a REST service instance
public RestServiceConnectionInfo(string uri, string token)
The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports
tokenstringAuthentication token to be sent with each request
Class for creating a connection string that will be used with a REST service instance
public RestServiceConnectionInfo(string uri)
The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports
Properties
Token
string
Gets or sets authentication token
public string Token { get; set; }
Determines if the default credentials to be set when connecting to report engine
public bool UseDefaultCredentials { get; set; }