Class MapServiceRequest<T>
Definition
- Namespace:
- Tizen.Maps
- Assembly:
- Tizen.Maps.dll
- API Level:
- 3
Base class for a map service request.
public abstract class MapServiceRequest<T> : IDisposable
- Inheritance
-
MapServiceRequest<T>
- Derived
- Implements
Methods
View SourceDispose()
Releases all the resources used by this object.
Declaration
public void Dispose()
API Level: 3
View SourceDispose(Boolean)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. |
API Level: 3
View SourceFinalize()
Destroy the MapServiceRequest object.
Declaration
protected void Finalize()
GetResponseAsync()
Sends a request to the map service provider.
Declaration
public Task<IEnumerable<T>> GetResponseAsync()
Returns
Type | Description |
---|---|
Task<IEnumerable<T>> | Response from the map service provider. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the required feature is not supported. |
UnauthorizedAccessException | Thrown when application does not have some privilege to access this method. |
InvalidOperationException | Thrown when the result is invalid. |
ArgumentException | Thrown when arguments are invalid. |