Method GetResultAsync
GetResultAsync(CancellationToken)
Asynchronously gets the result of the pyramid build operation.
Declaration
public Task<RasterPyramidInfo> GetResultAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | A cancellation token that can be used to request cancellation of the pyramid build operation. |
Returns
| Type | Description |
|---|---|
| Task<RasterPyramidInfo> | A task that returns information about the pyramid set that was built. |
Remarks
This method does not start the operation. It returns a task that completes when the pyramid build operation completes. If the operation has already completed, the returned task completes with the operation's result or error.
If the operation completes successfully, the task returns information about the pyramid set that was built. If the operation fails or is canceled, the task reports the corresponding error.
If cancellationToken is canceled before the build completes, cancellation is requested
for the pyramid build operation. Cancellation is cooperative and affects the shared operation.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300.1 |
| .NET Windows | 300.1 |
| .NET Android | 300.1 |
| .NET iOS | 300.1 |