GetDirectionsOperation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for