Class GeocodeServiceSettings
Settings for GeocodeServiceClient instances.
Inherited Members
Namespace: Google.Maps.Geocode.V4
Assembly: Google.Maps.Geocode.V4.dll
Syntax
public sealed class GeocodeServiceSettings : ServiceSettingsBase
Constructors
GeocodeServiceSettings()
Constructs a new GeocodeServiceSettings object with default settings.
Declaration
public GeocodeServiceSettings()
Properties
GeocodeAddressSettings
CallSettings for synchronous and asynchronous calls to
GeocodeServiceClient.GeocodeAddress and GeocodeServiceClient.GeocodeAddressAsync.
Declaration
public CallSettings GeocodeAddressSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GeocodeLocationSettings
CallSettings for synchronous and asynchronous calls to
GeocodeServiceClient.GeocodeLocation and GeocodeServiceClient.GeocodeLocationAsync.
Declaration
public CallSettings GeocodeLocationSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GeocodePlaceSettings
CallSettings for synchronous and asynchronous calls to
GeocodeServiceClient.GeocodePlace and GeocodeServiceClient.GeocodePlaceAsync.
Declaration
public CallSettings GeocodePlaceSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public GeocodeServiceSettings Clone()
Returns
| Type | Description |
|---|---|
| GeocodeServiceSettings | A deep clone of this GeocodeServiceSettings object. |
GetDefault()
Get a new instance of the default GeocodeServiceSettings.
Declaration
public static GeocodeServiceSettings GetDefault()
Returns
| Type | Description |
|---|---|
| GeocodeServiceSettings | A new instance of the default GeocodeServiceSettings. |