Class
RestServiceConnectionInfo

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:

cs-api-definition
public class RestServiceConnectionInfo : RemoteConnectionInfo

Inheritance: objectReportEngineConnectionInfoBaseRemoteConnectionInfoRestServiceConnectionInfo

Inherited Members RemoteConnectionInfo.UriRemoteConnectionInfo.TimeoutRemoteConnectionInfo.KeepClientAliveReportEngineConnectionInfoBase.ToString()ReportEngineConnectionInfoBase.ConnectionStringReportEngineConnectionInfoBase.Engine

Constructors

RestServiceConnectionInfo(string)

Class for creating a connection string that will be used with a REST service instance

Declaration

cs-api-definition
public RestServiceConnectionInfo(string uri)

Parameters

uri

string

The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports

RestServiceConnectionInfo(string, bool)

Class for creating a connection string that will be used with a REST service instance

Declaration

cs-api-definition
public RestServiceConnectionInfo(string uri, bool useDefaultCredentials)

Parameters

uri

string

The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports

useDefaultCredentials

bool

Determines if the default credentials will be sent

RestServiceConnectionInfo(string, int)

Class for creating a connection string that will be used with a REST service instance

Declaration

cs-api-definition
public RestServiceConnectionInfo(string uri, int timeout)

Parameters

uri

string

The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports

timeout

int

The timeout for rendering a document measured in seconds

RestServiceConnectionInfo(string, string)

Class for creating a connection string that will be used with a REST service instance

Declaration

cs-api-definition
public RestServiceConnectionInfo(string uri, string token)

Parameters

uri

string

The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports

token

string

Authentication token to be sent with each request

RestServiceConnectionInfo(string, string, bool)

Class for creating a connection string that will be used with a REST service instance

Declaration

cs-api-definition
public RestServiceConnectionInfo(string uri, string token, bool useDefaultCredentials)

Parameters

uri

string

The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports

token

string

Authentication token to be sent with each request

useDefaultCredentials

bool

Determines if the default credentials will be sent

RestServiceConnectionInfo(string, string, bool, int)

Class for creating a connection string that will be used with a REST service instance

Declaration

cs-api-definition
public RestServiceConnectionInfo(string uri, string token, bool useDefaultCredentials, int timeout)

Parameters

uri

string

The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports

token

string

Authentication token to be sent with each request

useDefaultCredentials

bool

Determines if the default credentials will be sent

timeout

int

The timeout for rendering a document measured in seconds

RestServiceConnectionInfo(string, string, bool, int, bool)

Class for creating a connection string that will be used with a REST service instance

Declaration

cs-api-definition
public RestServiceConnectionInfo(string uri, string token, bool useDefaultCredentials, int timeout, bool keepClientAlive)

Parameters

uri

string

The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports

token

string

Authentication token to be sent with each request

useDefaultCredentials

bool

Determines if the default credentials will be sent

timeout

int

The timeout for rendering a document measured in seconds

keepClientAlive

bool

Determines if the client will be kept alive (will not be expired)

RestServiceConnectionInfo(string, string, int)

Class for creating a connection string that will be used with a REST service instance

Declaration

cs-api-definition
public RestServiceConnectionInfo(string uri, string token, int timeout)

Parameters

uri

string

The URI of /api/reports endpoint the REST service. Example: http://localhost:58619/api/reports

token

string

Authentication token to be sent with each request

timeout

int

The timeout for rendering a document measured in seconds

Properties

Token

Gets or sets authentication token

Declaration

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

Property Value

string

UseDefaultCredentials

Determines if the default credentials to be set when connecting to report engine

Declaration

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

Property Value

bool