FabricClient.TestManagementClient.ValidateServiceAsync Method

Definition

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