共用方式為


FailoverTestScenarioParameters(PartitionSelector, TimeSpan, TimeSpan) Constructor

Definition

Constructor for the FailoverTestScenarioParameters.

public FailoverTestScenarioParameters (System.Fabric.PartitionSelector partitionSelector, TimeSpan timeToRun, TimeSpan maxServiceStabilizationTimeout);
new System.Fabric.Testability.Scenario.FailoverTestScenarioParameters : System.Fabric.PartitionSelector * TimeSpan * TimeSpan -> System.Fabric.Testability.Scenario.FailoverTestScenarioParameters
Public Sub New (partitionSelector As PartitionSelector, timeToRun As TimeSpan, maxServiceStabilizationTimeout As TimeSpan)

Parameters

partitionSelector
PartitionSelector

PartitionSelector which gives the partition being targeted for the test.

timeToRun
TimeSpan

The total time for which the failover test will run.

maxServiceStabilizationTimeout
TimeSpan

The maximum amount of time to wait for the service to stabilize after a fault before failing the test.

Applies to