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