Udostępnij za pośrednictwem


FabricClient.TestManagementClient.ValidateApplicationAsync Method

Definition

Overloads

ValidateApplicationAsync(Uri, TimeSpan)

This API will validate the availability and health of all services in the specified application.

ValidateApplicationAsync(Uri, TimeSpan, CancellationToken)

This API will validate the availability and health of all services in the specified application.

ValidateApplicationAsync(Uri, TimeSpan, TimeSpan, CancellationToken)

This API will validate the availability and health of all services in the specified application.

ValidateApplicationAsync(Uri, TimeSpan)

This API will validate the availability and health of all services in the specified application.

public System.Threading.Tasks.Task ValidateApplicationAsync (Uri applicationName, TimeSpan maximumStabilizationTimeout);
member this.ValidateApplicationAsync : Uri * TimeSpan -> System.Threading.Tasks.Task
Public Function ValidateApplicationAsync (applicationName As Uri, maximumStabilizationTimeout As TimeSpan) As Task

Parameters

applicationName
Uri

Name of the application whose services need to be validated.

maximumStabilizationTimeout
TimeSpan

Max amount of time to wait for the services 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

ValidateApplicationAsync(Uri, TimeSpan, CancellationToken)

This API will validate the availability and health of all services in the specified application.

public System.Threading.Tasks.Task ValidateApplicationAsync (Uri applicationName, TimeSpan maximumStabilizationTimeout, System.Threading.CancellationToken token);
member this.ValidateApplicationAsync : Uri * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ValidateApplicationAsync (applicationName As Uri, maximumStabilizationTimeout As TimeSpan, token As CancellationToken) As Task

Parameters

applicationName
Uri

Name of the application whose services need to be validated.

maximumStabilizationTimeout
TimeSpan

Max amount of time to wait for the services 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

ValidateApplicationAsync(Uri, TimeSpan, TimeSpan, CancellationToken)

This API will validate the availability and health of all services in the specified application.

public System.Threading.Tasks.Task ValidateApplicationAsync (Uri applicationName, TimeSpan maximumStabilizationTimeout, TimeSpan operationTimeout, System.Threading.CancellationToken token);
member this.ValidateApplicationAsync : Uri * TimeSpan * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ValidateApplicationAsync (applicationName As Uri, maximumStabilizationTimeout As TimeSpan, operationTimeout As TimeSpan, token As CancellationToken) As Task

Parameters

applicationName
Uri

Name of the application whose services need to be validated.

maximumStabilizationTimeout
TimeSpan

Max amount of time to wait for the services 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