New to Telerik UI for WinFormsStart a free 30-day trial

Base class for all requests.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

C#
public abstract class RequestBase

Inheritance: objectRequestBase

Constructors

Initializes a new instance of the BaseRequest class.

C#
protected RequestBase()

Properties

The culture in which to return results.

C#
public CultureInfo Culture { get; set; }
Property Value:

The culture.

Gets or sets the current ip of the user. Optional. IPv4 format. Set this property before making a service request.

C#
public string CurrentIP { get; set; }
Property Value:

The current ip.

Gets or sets the current location of the user. Optional. Set this property before making a service request.

C#
public PointG CurrentLocation { get; set; }
Property Value:

The current location.

Gets or sets distance unit.

C#
public DistanceUnit DistanceUnit { get; set; }
Property Value:

The distance unit.

Gets or sets user data. This data will be passed to the response which corresponds to this request. It can be used to identify request-response pair, for example. User data can be obtain from the response through the RequestUserData property.

C#
public object UserData { get; set; }
Property Value:

The user data.