FabricClient.TestManagementClient.GetPartitionRestartProgressAsync Método

Definição

Sobrecargas

GetPartitionRestartProgressAsync(Guid, TimeSpan)

Obtém o progresso de um comando de teste iniciado usando StartPartitionRestartAsync().

GetPartitionRestartProgressAsync(Guid)

Obtém o progresso de um comando de teste iniciado usando StartPartitionRestartAsync().

GetPartitionRestartProgressAsync(Guid, CancellationToken)

Obtém o progresso de um comando de teste iniciado usando StartPartitionRestartAsync().

GetPartitionRestartProgressAsync(Guid, TimeSpan, CancellationToken)

Obtém o progresso de um comando de teste iniciado usando StartPartitionRestartAsync().

GetPartitionRestartProgressAsync(Guid, TimeSpan)

Obtém o progresso de um comando de teste iniciado usando StartPartitionRestartAsync().

public System.Threading.Tasks.Task<System.Fabric.PartitionRestartProgress> GetPartitionRestartProgressAsync (Guid operationId, TimeSpan timeout);
member this.GetPartitionRestartProgressAsync : Guid * TimeSpan -> System.Threading.Tasks.Task<System.Fabric.PartitionRestartProgress>
Public Function GetPartitionRestartProgressAsync (operationId As Guid, timeout As TimeSpan) As Task(Of PartitionRestartProgress)

Parâmetros

operationId
Guid

A operationId passou quando o comando de teste estava começando usando StartPartitionRestartAsync().

timeout
TimeSpan

Tempo limite.

Retornos

Um objeto PartitionRestartProgress, contendo TestCommandProgressState e PartitionRestartResult.

Comentários

O FaultAnalysisService deve ser habilitado para usar essa API.

Se o PartitionRestartProgress.State == falhou, examine PartitionRestartProgress.Result.Exception para determinar o motivo. Valores PartitionRestartProgress.Result.Exception: - ArgumentException - a entrada era inválida. - FabricException, com uma propriedade ErrorCode de: - PartitionNotFound - a partição especificada não foi encontrada ou não é uma partição que pertence ao serviço especificado.

Aplica-se a

GetPartitionRestartProgressAsync(Guid)

Obtém o progresso de um comando de teste iniciado usando StartPartitionRestartAsync().

public System.Threading.Tasks.Task<System.Fabric.PartitionRestartProgress> GetPartitionRestartProgressAsync (Guid operationId);
member this.GetPartitionRestartProgressAsync : Guid -> System.Threading.Tasks.Task<System.Fabric.PartitionRestartProgress>
Public Function GetPartitionRestartProgressAsync (operationId As Guid) As Task(Of PartitionRestartProgress)

Parâmetros

operationId
Guid

A operationId passou quando o comando de teste estava começando usando StartPartitionRestartAsync().

Retornos

Um objeto PartitionRestartProgress, contendo TestCommandProgressState e PartitionRestartResult.

Comentários

O FaultAnalysisService deve ser habilitado para usar essa API.

Se o PartitionRestartProgress.State == falhou, examine PartitionRestartProgress.Result.Exception para determinar o motivo. Valores PartitionRestartProgress.Result.Exception: - ArgumentException - a entrada era inválida. - FabricException, com uma propriedade ErrorCode de: - PartitionNotFound - a partição especificada não foi encontrada ou não é uma partição que pertence ao serviço especificado.

Aplica-se a

GetPartitionRestartProgressAsync(Guid, CancellationToken)

Obtém o progresso de um comando de teste iniciado usando StartPartitionRestartAsync().

public System.Threading.Tasks.Task<System.Fabric.PartitionRestartProgress> GetPartitionRestartProgressAsync (Guid operationId, System.Threading.CancellationToken cancellationToken);
member this.GetPartitionRestartProgressAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.PartitionRestartProgress>
Public Function GetPartitionRestartProgressAsync (operationId As Guid, cancellationToken As CancellationToken) As Task(Of PartitionRestartProgress)

Parâmetros

operationId
Guid

A operationId passou quando o comando de teste estava começando usando StartPartitionRestartAsync().

cancellationToken
CancellationToken

Esse token pode ser sinalizado para anular essa operação antes de ser concluído

Retornos

Um objeto PartitionRestartProgress, contendo TestCommandProgressState e PartitionRestartResult.

Comentários

O FaultAnalysisService deve ser habilitado para usar essa API.

Se o PartitionRestartProgress.State == falhou, examine PartitionRestartProgress.Result.Exception para determinar o motivo. Valores PartitionRestartProgress.Result.Exception: - ArgumentException - a entrada era inválida. - FabricException, com uma propriedade ErrorCode de: - PartitionNotFound - a partição especificada não foi encontrada ou não é uma partição que pertence ao serviço especificado.

Aplica-se a

GetPartitionRestartProgressAsync(Guid, TimeSpan, CancellationToken)

Obtém o progresso de um comando de teste iniciado usando StartPartitionRestartAsync().

public System.Threading.Tasks.Task<System.Fabric.PartitionRestartProgress> GetPartitionRestartProgressAsync (Guid operationId, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetPartitionRestartProgressAsync : Guid * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.PartitionRestartProgress>
Public Function GetPartitionRestartProgressAsync (operationId As Guid, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of PartitionRestartProgress)

Parâmetros

operationId
Guid

A operationId passou quando o comando de teste estava começando usando StartPartitionRestartAsync().

timeout
TimeSpan

Tempo limite.

cancellationToken
CancellationToken

Esse token pode ser sinalizado para anular essa operação antes de ser concluído

Retornos

Um objeto PartitionRestartProgress, contendo TestCommandProgressState e PartitionRestartResult.

Comentários

O FaultAnalysisService deve ser habilitado para usar essa API.

Se o PartitionRestartProgress.State == falhou, examine PartitionRestartProgress.Result.Exception para determinar o motivo. Valores PartitionRestartProgress.Result.Exception: - ArgumentException - a entrada era inválida. - FabricException, com uma propriedade ErrorCode de: - PartitionNotFound - a partição especificada não foi encontrada ou não é uma partição que pertence ao serviço especificado.

Aplica-se a