Share via


GetRouteMatrixOperation Class

Definition

An Operation<T> for tracking the status of a GetRouteMatrix(WaitUntil, RouteMatrixOptions, CancellationToken) request. Its Value upon successful completion will be the route matrix result.

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

Constructors

GetRouteMatrixOperation()

Initializes a new GetRouteMatrixOperation instance for mocking.

GetRouteMatrixOperation(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 matrix 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 matrix 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