TestabilityExtensions Class

 

Class containing all the extensions for FabricClient Testability methods

Namespace:   System.Fabric.Testability
Assembly:  System.Fabric.Testability (in System.Fabric.Testability.dll)

Inheritance Hierarchy

System.Object
  System.Fabric.Testability.TestabilityExtensions

Syntax

public static class TestabilityExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CleanTestStateAsync(FabricClient.ClusterManagementClient)

Cleans up all the test state in the cluster.

System_CAPS_pubmethodSystem_CAPS_static CleanTestStateAsync(FabricClient.ClusterManagementClient, TimeSpan, CancellationToken)

Cleans up all the test state in the cluster.

System_CAPS_pubmethodSystem_CAPS_static InvokeDataLossAsync(FabricClient.ServiceManagementClient, PartitionSelector, DataLossMode)

This API will induce data loss for the specified partition. It will trigger a call to the OnDataLoss API of the partition.

System_CAPS_pubmethodSystem_CAPS_static InvokeDataLossAsync(FabricClient.ServiceManagementClient, PartitionSelector, DataLossMode, CancellationToken)

This API will induce data loss for the specified partition. It will trigger a call to the OnDataLoss API of the partition.

System_CAPS_pubmethodSystem_CAPS_static InvokeDataLossAsync(FabricClient.ServiceManagementClient, PartitionSelector, DataLossMode, TimeSpan, CancellationToken)

This API will induce data loss for the specified partition. It will trigger a call to the OnDataLoss API of the partition.

System_CAPS_pubmethodSystem_CAPS_static InvokeQuorumLossAsync(FabricClient.ServiceManagementClient, PartitionSelector, QuorumLossMode, TimeSpan)

Puts a given stateful service partition in to quorum loss.

System_CAPS_pubmethodSystem_CAPS_static InvokeQuorumLossAsync(FabricClient.ServiceManagementClient, PartitionSelector, QuorumLossMode, TimeSpan, CancellationToken)

Puts a given stateful service partition in to quorum loss.

System_CAPS_pubmethodSystem_CAPS_static InvokeQuorumLossAsync(FabricClient.ServiceManagementClient, PartitionSelector, QuorumLossMode, TimeSpan, TimeSpan, CancellationToken)

Puts a given stateful service partition in to quorum loss.

System_CAPS_pubmethodSystem_CAPS_static MovePrimaryAsync(FabricClient.ServiceManagementClient, PartitionSelector)

Moves selected primary replica to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MovePrimaryAsync(FabricClient.ServiceManagementClient, PartitionSelector, Boolean)

Moves selected primary replica to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MovePrimaryAsync(FabricClient.ServiceManagementClient, PartitionSelector, Boolean, CancellationToken)

Moves selected primary replica to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MovePrimaryAsync(FabricClient.ServiceManagementClient, PartitionSelector, Boolean, TimeSpan, CancellationToken)

Moves selected primary replica to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MovePrimaryAsync(FabricClient.ServiceManagementClient, PartitionSelector, CancellationToken)

Moves selected primary replica to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MovePrimaryAsync(FabricClient.ServiceManagementClient, PartitionSelector, TimeSpan, CancellationToken)

Moves selected primary replica to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MovePrimaryAsync(FabricClient.ServiceManagementClient, String, PartitionSelector)

Moves selected primary replica to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MovePrimaryAsync(FabricClient.ServiceManagementClient, String, PartitionSelector, Boolean)

Moves selected primary replica to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MovePrimaryAsync(FabricClient.ServiceManagementClient, String, PartitionSelector, Boolean, CancellationToken)

Moves selected primary replica to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MovePrimaryAsync(FabricClient.ServiceManagementClient, String, PartitionSelector, Boolean, TimeSpan, CancellationToken)

Moves selected primary replica to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MovePrimaryAsync(FabricClient.ServiceManagementClient, String, PartitionSelector, CancellationToken)

Moves selected primary replica to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MovePrimaryAsync(FabricClient.ServiceManagementClient, String, PartitionSelector, TimeSpan, CancellationToken)

Moves selected primary replica to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, PartitionSelector)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, PartitionSelector, Boolean)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, PartitionSelector, Boolean, CancellationToken)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, PartitionSelector, Boolean, TimeSpan, CancellationToken)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, PartitionSelector, CancellationToken)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, PartitionSelector, TimeSpan, CancellationToken)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, String, PartitionSelector)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, String, PartitionSelector, Boolean)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, String, PartitionSelector, Boolean, CancellationToken)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, String, PartitionSelector, Boolean, TimeSpan, CancellationToken)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, String, PartitionSelector, CancellationToken)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, String, PartitionSelector, TimeSpan, CancellationToken)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, String, String, PartitionSelector)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, String, String, PartitionSelector, Boolean)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, String, String, PartitionSelector, Boolean, CancellationToken)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, String, String, PartitionSelector, Boolean, TimeSpan, CancellationToken)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, String, String, PartitionSelector, CancellationToken)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static MoveSecondaryAsync(FabricClient.ServiceManagementClient, String, String, PartitionSelector, TimeSpan, CancellationToken)

Moves selected secondary replica from current node to new node in the cluster.

System_CAPS_pubmethodSystem_CAPS_static RemoveReplicaAsync(FabricClient.ServiceManagementClient, ReplicaSelector, CompletionMode, Boolean)

This API will remove the replica (equivalent of ReportFault - Permanent) specified by the passed in ReplicaSelector.

System_CAPS_pubmethodSystem_CAPS_static RemoveReplicaAsync(FabricClient.ServiceManagementClient, ReplicaSelector, CompletionMode, Boolean, CancellationToken)

This API will remove the replica (equivalent of ReportFault - Permanent) specified by the passed in ReplicaSelector.

System_CAPS_pubmethodSystem_CAPS_static RemoveReplicaAsync(FabricClient.ServiceManagementClient, ReplicaSelector, CompletionMode, Boolean, TimeSpan, CancellationToken)

This API will remove the replica (equivalent of ReportFault - Permanent) specified by the passed in ReplicaSelector.

System_CAPS_pubmethodSystem_CAPS_static RemoveReplicaAsync(FabricClient.ServiceManagementClient, String, Guid, Int64, CompletionMode, Boolean)

This API will remove the replica (equivalent of ReportFault - Permanent) specified by the passed in ReplicaSelector.

System_CAPS_pubmethodSystem_CAPS_static RemoveReplicaAsync(FabricClient.ServiceManagementClient, String, Guid, Int64, CompletionMode, Boolean, CancellationToken)

This API will remove the replica (equivalent of ReportFault - Permanent) specified by the passed in ReplicaSelector.

System_CAPS_pubmethodSystem_CAPS_static RemoveReplicaAsync(FabricClient.ServiceManagementClient, String, Guid, Int64, CompletionMode, Boolean, Double, CancellationToken)

This API will remove the replica (equivalent of ReportFault - Permanent) specified by the passed in ReplicaSelector.

System_CAPS_pubmethodSystem_CAPS_static RestartDeployedCodePackageAsync(FabricClient.ApplicationManagementClient, String, Uri, String, String, Int64, CompletionMode)

This API call restarts the code package as specified by the input parameters.

System_CAPS_pubmethodSystem_CAPS_static RestartDeployedCodePackageAsync(FabricClient.ApplicationManagementClient, String, Uri, String, String, Int64, CompletionMode, CancellationToken)

This API call restarts the code package as specified by the input parameters.

System_CAPS_pubmethodSystem_CAPS_static RestartDeployedCodePackageAsync(FabricClient.ApplicationManagementClient, String, Uri, String, String, Int64, CompletionMode, TimeSpan, CancellationToken)

This API call restarts the code package as specified by the input parameters.

System_CAPS_pubmethodSystem_CAPS_static RestartDeployedCodePackageAsync(FabricClient.ApplicationManagementClient, Uri, ReplicaSelector, CompletionMode)

This API call restarts the code package which hosts the replica specified by the ReplicaSelector and belongs to the specified application name.

System_CAPS_pubmethodSystem_CAPS_static RestartDeployedCodePackageAsync(FabricClient.ApplicationManagementClient, Uri, ReplicaSelector, CompletionMode, CancellationToken)

This API call restarts the code package which hosts the replica specified by the ReplicaSelector and belongs to the specified application name.

System_CAPS_pubmethodSystem_CAPS_static RestartDeployedCodePackageAsync(FabricClient.ApplicationManagementClient, Uri, ReplicaSelector, CompletionMode, TimeSpan, CancellationToken)

This API call restarts the code package which hosts the replica specified by the ReplicaSelector and belongs to the specified application name.

System_CAPS_pubmethodSystem_CAPS_static RestartNodeAsync(FabricClient.ClusterManagementClient, ReplicaSelector, Boolean, CompletionMode, TimeSpan, CancellationToken)

Restarts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static RestartNodeAsync(FabricClient.ClusterManagementClient, ReplicaSelector, CompletionMode)

Restarts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static RestartNodeAsync(FabricClient.ClusterManagementClient, ReplicaSelector, CompletionMode, CancellationToken)

Restarts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static RestartNodeAsync(FabricClient.ClusterManagementClient, ReplicaSelector, CompletionMode, TimeSpan, CancellationToken)

Restarts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static RestartNodeAsync(FabricClient.ClusterManagementClient, String, BigInteger, Boolean, CompletionMode, TimeSpan, CancellationToken)

Restarts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static RestartNodeAsync(FabricClient.ClusterManagementClient, String, BigInteger, CompletionMode)

Restarts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static RestartNodeAsync(FabricClient.ClusterManagementClient, String, BigInteger, CompletionMode, CancellationToken)

Restarts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static RestartNodeAsync(FabricClient.ClusterManagementClient, String, BigInteger, CompletionMode, TimeSpan, CancellationToken)

Restarts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static RestartPartitionAsync(FabricClient.ServiceManagementClient, PartitionSelector, RestartPartitionMode)

This API will restart some or all the replicas of a partition at the same time (ensures all the replicas are down concurrently) depending on the RestartPartitionMode.

System_CAPS_pubmethodSystem_CAPS_static RestartPartitionAsync(FabricClient.ServiceManagementClient, PartitionSelector, RestartPartitionMode, CancellationToken)

This API will restart some or all the replicas of a partition at the same time (ensures all the replicas are down concurrently) depending on the RestartPartitionMode.

System_CAPS_pubmethodSystem_CAPS_static RestartPartitionAsync(FabricClient.ServiceManagementClient, PartitionSelector, RestartPartitionMode, TimeSpan, CancellationToken)

This API will restart some or all the replicas of a partition at the same time (ensures all the replicas are down concurrently) depending on the RestartPartitionMode.

System_CAPS_pubmethodSystem_CAPS_static RestartReplicaAsync(FabricClient.ServiceManagementClient, ReplicaSelector, CompletionMode)

This API will restart the replica (equivalent of ReportFault - Temporary) specified by the passed in ReplicaSelector.

System_CAPS_pubmethodSystem_CAPS_static RestartReplicaAsync(FabricClient.ServiceManagementClient, ReplicaSelector, CompletionMode, CancellationToken)

This API will restart the replica (equivalent of ReportFault - Temporary) specified by the passed in ReplicaSelector.

System_CAPS_pubmethodSystem_CAPS_static RestartReplicaAsync(FabricClient.ServiceManagementClient, ReplicaSelector, CompletionMode, TimeSpan, CancellationToken)

This API will restart the replica (equivalent of ReportFault - Temporary) specified by the passed in ReplicaSelector.

System_CAPS_pubmethodSystem_CAPS_static RestartReplicaAsync(FabricClient.ServiceManagementClient, String, Guid, Int64, CompletionMode)

This API will restart the replica (equivalent of ReportFault - Temporary) specified by the passed in ReplicaSelector.

System_CAPS_pubmethodSystem_CAPS_static RestartReplicaAsync(FabricClient.ServiceManagementClient, String, Guid, Int64, CompletionMode, CancellationToken)

This API will restart the replica (equivalent of ReportFault - Temporary) specified by the passed in ReplicaSelector.

System_CAPS_pubmethodSystem_CAPS_static RestartReplicaAsync(FabricClient.ServiceManagementClient, String, Guid, Int64, CompletionMode, Double, CancellationToken)

This API will restart the replica (equivalent of ReportFault - Temporary) specified by the passed in ReplicaSelector.

System_CAPS_pubmethodSystem_CAPS_static StartNodeAsync(FabricClient.ClusterManagementClient, String, BigInteger, CompletionMode)

Starts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static StartNodeAsync(FabricClient.ClusterManagementClient, String, BigInteger, CompletionMode, CancellationToken)

Starts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static StartNodeAsync(FabricClient.ClusterManagementClient, String, BigInteger, String, Int32, CompletionMode)

Starts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static StartNodeAsync(FabricClient.ClusterManagementClient, String, BigInteger, String, Int32, CompletionMode, CancellationToken)

Starts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static StartNodeAsync(FabricClient.ClusterManagementClient, String, BigInteger, String, Int32, CompletionMode, TimeSpan, CancellationToken)

Starts a cluster node.

System_CAPS_pubmethodSystem_CAPS_static StopNodeAsync(FabricClient.ClusterManagementClient, String, BigInteger, CompletionMode)

Stops a cluster node.

System_CAPS_pubmethodSystem_CAPS_static StopNodeAsync(FabricClient.ClusterManagementClient, String, BigInteger, CompletionMode, CancellationToken)

Stops a cluster node.

System_CAPS_pubmethodSystem_CAPS_static StopNodeAsync(FabricClient.ClusterManagementClient, String, BigInteger, CompletionMode, TimeSpan, CancellationToken)

Stops a cluster node.

System_CAPS_pubmethodSystem_CAPS_static ValidateApplicationAsync(FabricClient.ApplicationManagementClient, Uri, TimeSpan)

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

System_CAPS_pubmethodSystem_CAPS_static ValidateApplicationAsync(FabricClient.ApplicationManagementClient, Uri, TimeSpan, CancellationToken)

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

System_CAPS_pubmethodSystem_CAPS_static ValidateApplicationAsync(FabricClient.ApplicationManagementClient, Uri, TimeSpan, TimeSpan, CancellationToken)

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

System_CAPS_pubmethodSystem_CAPS_static ValidateServiceAsync(FabricClient.ServiceManagementClient, Uri, TimeSpan)

This API will validate the availability and health of the specified service.

System_CAPS_pubmethodSystem_CAPS_static ValidateServiceAsync(FabricClient.ServiceManagementClient, Uri, TimeSpan, CancellationToken)

This API will validate the availability and health of the specified service.

System_CAPS_pubmethodSystem_CAPS_static ValidateServiceAsync(FabricClient.ServiceManagementClient, Uri, TimeSpan, TimeSpan, CancellationToken)

This API will validate the availability and health of the specified service.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Fabric.Testability Namespace

Return to top