Class DestinationServiceSettings
Settings for DestinationServiceClient instances.
Inherited Members
Namespace: Google.Maps.Geocode.V4
Assembly: Google.Maps.Geocode.V4.dll
Syntax
public sealed class DestinationServiceSettings : ServiceSettingsBase
Constructors
DestinationServiceSettings()
Constructs a new DestinationServiceSettings object with default settings.
Declaration
public DestinationServiceSettings()
Properties
SearchDestinationsSettings
CallSettings for synchronous and asynchronous calls to
DestinationServiceClient.SearchDestinations and DestinationServiceClient.SearchDestinationsAsync
.
Declaration
public CallSettings SearchDestinationsSettings { 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 DestinationServiceSettings Clone()
Returns
| Type | Description |
|---|---|
| DestinationServiceSettings | A deep clone of this DestinationServiceSettings object. |
GetDefault()
Get a new instance of the default DestinationServiceSettings.
Declaration
public static DestinationServiceSettings GetDefault()
Returns
| Type | Description |
|---|---|
| DestinationServiceSettings | A new instance of the default DestinationServiceSettings. |