TestScenario Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for TestScenarios which defines all the common methods and functionality.
public abstract class TestScenario : IDisposable
type TestScenario = class
interface IDisposable
Public MustInherit Class TestScenario
Implements IDisposable
- Inheritance
-
TestScenario
- Derived
- Implements
Constructors
TestScenario(FabricClient, TestScenarioParameters) |
This API supports the Service Fabric platform and is not meant to be called from your code |
Fields
ProgressChanged |
Event handler which exposes the current progress of the test. When handled it gives you the ProgressChangedEventArgs which gives out a total % of the test which has already completed and the last operation (string) that was performed which can be useful for logging. |
Properties
FabricClient |
This API supports the Service Fabric platform and is not meant to be called from your code |
ScenarioParameters |
This API supports the Service Fabric platform and is not meant to be called from your code |
Methods
Dispose() |
This method will dispose the TestScenario. |
ExecuteAsync(CancellationToken) |
This method executes the test with the specified parameter set passed into the constructor. |
GetElapsedTime() |
This API supports the Service Fabric platform and is not meant to be called from your code |
HandleTaskComplete(Task, String, String) |
This API supports the Service Fabric platform and is not meant to be called from your code |
OnDispose(Boolean) |
This API supports the Service Fabric platform and is not meant to be called from your code |
OnExecuteAsync(CancellationToken) |
This API supports the Service Fabric platform and is not meant to be called from your code |
ReportProgress(String) |
This API supports the Service Fabric platform and is not meant to be called from your code |
ReportProgress(String, Object[]) |
This API supports the Service Fabric platform and is not meant to be called from your code |
ValidateScenarioAtExitAsync(CancellationToken) |
This API supports the Service Fabric platform and is not meant to be called from your code |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기