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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應