共用方式為


FailoverTestScenario(FabricClient, FailoverTestScenarioParameters) Constructor

Definition

Constructor for the FailoverTestScenario.

public FailoverTestScenario (System.Fabric.FabricClient fabricClient, System.Fabric.Testability.Scenario.FailoverTestScenarioParameters testScenarioParameters);
new System.Fabric.Testability.Scenario.FailoverTestScenario : System.Fabric.FabricClient * System.Fabric.Testability.Scenario.FailoverTestScenarioParameters -> System.Fabric.Testability.Scenario.FailoverTestScenario
Public Sub New (fabricClient As FabricClient, testScenarioParameters As FailoverTestScenarioParameters)

Parameters

fabricClient
FabricClient

FabricClient object which will be used to connect to the cluster and induce the faults.

testScenarioParameters
FailoverTestScenarioParameters

FailoverTestScenarioParameters which define the configuration for the failover test.

Applies to