你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FabricClient.TestManagementClient.GetTestCommandStatusListAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetTestCommandStatusListAsync(CancellationToken)
获取测试命令的状态。
public System.Threading.Tasks.Task<System.Fabric.Query.TestCommandStatusList> GetTestCommandStatusListAsync (System.Threading.CancellationToken cancellationToken);
member this.GetTestCommandStatusListAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.TestCommandStatusList>
Public Function GetTestCommandStatusListAsync (cancellationToken As CancellationToken) As Task(Of TestCommandStatusList)
参数
- cancellationToken
- CancellationToken
可以发出此令牌的信号,以在操作完成之前中止此操作
返回
TestCommandStatusList,它是 TestCommandStatus 对象的 IList
注解
必须启用 FaultAnalysisService 才能使用此 API。
适用于
GetTestCommandStatusListAsync(TimeSpan)
获取测试命令的状态。
public System.Threading.Tasks.Task<System.Fabric.Query.TestCommandStatusList> GetTestCommandStatusListAsync (TimeSpan operationTimeout);
member this.GetTestCommandStatusListAsync : TimeSpan -> System.Threading.Tasks.Task<System.Fabric.Query.TestCommandStatusList>
Public Function GetTestCommandStatusListAsync (operationTimeout As TimeSpan) As Task(Of TestCommandStatusList)
参数
- operationTimeout
- TimeSpan
API 调用的超时。
返回
TestCommandStatusList,它是 TestCommandStatus 对象的 IList
注解
必须启用 FaultAnalysisService 才能使用此 API。
适用于
GetTestCommandStatusListAsync(TimeSpan, CancellationToken)
获取测试命令的状态。
public System.Threading.Tasks.Task<System.Fabric.Query.TestCommandStatusList> GetTestCommandStatusListAsync (TimeSpan operationTimeout, System.Threading.CancellationToken cancellationToken);
member this.GetTestCommandStatusListAsync : TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.TestCommandStatusList>
Public Function GetTestCommandStatusListAsync (operationTimeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of TestCommandStatusList)
参数
- operationTimeout
- TimeSpan
API 调用的超时。
- cancellationToken
- CancellationToken
可以发出此令牌的信号,以在操作完成之前中止此操作
返回
TestCommandStatusList,它是 TestCommandStatus 对象的 IList
注解
必须启用 FaultAnalysisService 才能使用此 API。
适用于
GetTestCommandStatusListAsync(TestCommandStateFilter, TimeSpan, CancellationToken)
获取测试命令的状态。
public System.Threading.Tasks.Task<System.Fabric.Query.TestCommandStatusList> GetTestCommandStatusListAsync (System.Fabric.Query.TestCommandStateFilter stateFilter, TimeSpan operationTimeout, System.Threading.CancellationToken cancellationToken);
member this.GetTestCommandStatusListAsync : System.Fabric.Query.TestCommandStateFilter * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.TestCommandStatusList>
Public Function GetTestCommandStatusListAsync (stateFilter As TestCommandStateFilter, operationTimeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of TestCommandStatusList)
参数
- stateFilter
- TestCommandStateFilter
此参数可用于按 TestCommandState 进行筛选
- operationTimeout
- TimeSpan
API 调用的超时。
- cancellationToken
- CancellationToken
可以发出此令牌的信号,以在操作完成之前中止此操作
返回
TestCommandStatusList,它是 TestCommandStatus 对象的 IList
注解
必须启用 FaultAnalysisService 才能使用此 API。
适用于
GetTestCommandStatusListAsync(TestCommandTypeFilter, TimeSpan, CancellationToken)
获取测试命令的状态。
public System.Threading.Tasks.Task<System.Fabric.Query.TestCommandStatusList> GetTestCommandStatusListAsync (System.Fabric.Query.TestCommandTypeFilter typeFilter, TimeSpan operationTimeout, System.Threading.CancellationToken cancellationToken);
member this.GetTestCommandStatusListAsync : System.Fabric.Query.TestCommandTypeFilter * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.TestCommandStatusList>
Public Function GetTestCommandStatusListAsync (typeFilter As TestCommandTypeFilter, operationTimeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of TestCommandStatusList)
参数
- typeFilter
- TestCommandTypeFilter
此参数可用于按 TestCommandType 进行筛选
- operationTimeout
- TimeSpan
API 调用的超时。
- cancellationToken
- CancellationToken
可以发出此令牌的信号,以在操作完成之前中止此操作
返回
TestCommandStatusList,它是 TestCommandStatus 对象的 IList
注解
必须启用 FaultAnalysisService 才能使用此 API。
适用于
GetTestCommandStatusListAsync(TestCommandStateFilter, TestCommandTypeFilter, TimeSpan, CancellationToken)
获取测试命令的状态。
public System.Threading.Tasks.Task<System.Fabric.Query.TestCommandStatusList> GetTestCommandStatusListAsync (System.Fabric.Query.TestCommandStateFilter stateFilter, System.Fabric.Query.TestCommandTypeFilter typeFilter, TimeSpan operationTimeout, System.Threading.CancellationToken cancellationToken);
member this.GetTestCommandStatusListAsync : System.Fabric.Query.TestCommandStateFilter * System.Fabric.Query.TestCommandTypeFilter * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.TestCommandStatusList>
Public Function GetTestCommandStatusListAsync (stateFilter As TestCommandStateFilter, typeFilter As TestCommandTypeFilter, operationTimeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of TestCommandStatusList)
参数
- stateFilter
- TestCommandStateFilter
此参数可用于按 TestCommandState 进行筛选
- typeFilter
- TestCommandTypeFilter
此参数可用于按 TestCommandType 进行筛选
- operationTimeout
- TimeSpan
API 调用的超时。
- cancellationToken
- CancellationToken
可以发出此令牌的信号,以在操作完成之前中止此操作
返回
TestCommandStatusList,它是 TestCommandStatus 对象的 IList
注解
必须启用 FaultAnalysisService 才能使用此 API。