Class MapServiceRequest<T>
Definition
- Assembly:
- Tizen.Maps.dll
Base class for a map service request.
public abstract class MapServiceRequest<T> : IDisposable
- Inheritance
-
objectMapServiceRequest<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.Threading.Tasks.Task<TResult><System.Collections.Generic.IEnumerable<T><T>> | Response from the map service provider. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the required feature is not supported. |
System.UnauthorizedAccessException | Thrown when application does not have some privilege to access this method. |
System.InvalidOperationException | Thrown when the result is invalid. |
System.ArgumentException | Thrown when arguments are invalid. |
Implements
System.IDisposable