FabricClient.TestManagementClient.ValidateServiceAsync Method
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.
Overloads
ValidateServiceAsync(Uri, TimeSpan, CancellationToken) |
This API will validate the availability and health of the specified service. |
ValidateServiceAsync(Uri, TimeSpan) |
This API will validate the availability and health of the specified service. |
ValidateServiceAsync(Uri, TimeSpan, TimeSpan, CancellationToken) |
This API will validate the availability and health of the specified service. |
ValidateServiceAsync(Uri, TimeSpan, CancellationToken)
This API will validate the availability and health of the specified service.
public System.Threading.Tasks.Task ValidateServiceAsync (Uri serviceName, TimeSpan maximumStabilizationTimeout, System.Threading.CancellationToken token);
member this.ValidateServiceAsync : Uri * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ValidateServiceAsync (serviceName As Uri, maximumStabilizationTimeout As TimeSpan, token As CancellationToken) As Task
Parameters
- serviceName
- Uri
Name of the service that needs to be validated.
- maximumStabilizationTimeout
- TimeSpan
Max amount of time to wait for the service to stabilize else fail the operation.
- token
- CancellationToken
Cancellation token
Returns
Task
Exceptions
Action took more than its allocated time.
Any of the required arguments are null.
If any service does not stabilize within the specified timeout.
Applies to
ValidateServiceAsync(Uri, TimeSpan)
This API will validate the availability and health of the specified service.
public System.Threading.Tasks.Task ValidateServiceAsync (Uri serviceName, TimeSpan maximumStabilizationTimeout);
member this.ValidateServiceAsync : Uri * TimeSpan -> System.Threading.Tasks.Task
Public Function ValidateServiceAsync (serviceName As Uri, maximumStabilizationTimeout As TimeSpan) As Task
Parameters
- serviceName
- Uri
Name of the service that needs to be validated.
- maximumStabilizationTimeout
- TimeSpan
Max amount of time to wait for the service to stabilize else fail the operation.
Returns
Task
Exceptions
Action took more than its allocated time.
Any of the required arguments are null.
If any service does not stabilize within the specified timeout.
Applies to
ValidateServiceAsync(Uri, TimeSpan, TimeSpan, CancellationToken)
This API will validate the availability and health of the specified service.
public System.Threading.Tasks.Task ValidateServiceAsync (Uri serviceName, TimeSpan maximumStabilizationTimeout, TimeSpan operationTimeout, System.Threading.CancellationToken token);
member this.ValidateServiceAsync : Uri * TimeSpan * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ValidateServiceAsync (serviceName As Uri, maximumStabilizationTimeout As TimeSpan, operationTimeout As TimeSpan, token As CancellationToken) As Task
Parameters
- serviceName
- Uri
Name of the service that needs to be validated.
- maximumStabilizationTimeout
- TimeSpan
Max amount of time to wait for the service to stabilize else fail the operation.
- operationTimeout
- TimeSpan
Amount of time to wait for an operation to complete else fail the operation.
- token
- CancellationToken
Cancellation token
Returns
Task
Exceptions
Action took more than its allocated time.
Any of the required arguments are null.
If any service does not stabilize within the specified timeout.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應