GetDirectionsOperation Class

Definition

An Operation<T> for tracking the status of a RequestRouteDirectionsBatch request. Its Value upon successful completion will be the route directions batch result.

public class GetDirectionsOperation : Azure.Operation<Azure.Maps.Routing.Models.RouteDirectionsBatchResult>
type GetDirectionsOperation = class
    inherit Operation<RouteDirectionsBatchResult>
Public Class GetDirectionsOperation
Inherits Operation(Of RouteDirectionsBatchResult)
Inheritance

Constructors

GetDirectionsOperation()

Initializes a new GetDirectionsOperation instance for mocking.

GetDirectionsOperation(MapsRoutingClient, String)

Initializes a new GetRouteMatrixOperation instance

Properties

HasCompleted

Gets a value indicating whether the operation has completed.

HasValue

Indicating whether the operation completed and successfully produced a value. The Value property is the route directions batch result.

Id

Gets an ID representing the operation that can be used to poll for the status of the long-running operation. There are cases that operation id is not available, we return "NOT_SET" for unavailable operation id.

Value

Gets the will be the route directions batch result.

Methods

GetRawResponse()

The last HTTP response received from the server.

GetRehydrationToken()

Get a token that can be used to rehydrate the operation.

(Inherited from Operation)
UpdateStatus(CancellationToken)

Check for the latest status of the route matrix calculation operation.

UpdateStatusAsync(CancellationToken)

Check for the latest status of the route matrix calculation operation.

WaitForCompletion(CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletion(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletion(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionAsync(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletionAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionResponse(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponse(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponse(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)

Applies to