你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FabricClient.TestManagementClient.GetChaosReportAsync 方法

定义

重载

GetChaosReportAsync(ChaosReportFilter)

检索混沌测试运行的报告。

GetChaosReportAsync(String)

检索混沌测试运行的报告。

GetChaosReportAsync(ChaosReportFilter, TimeSpan, CancellationToken)

检索混沌测试运行的报告。

GetChaosReportAsync(String, TimeSpan, CancellationToken)

检索混沌测试运行的报告。

GetChaosReportAsync(ChaosReportFilter)

检索混沌测试运行的报告。

public System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosReport> GetChaosReportAsync (System.Fabric.Chaos.DataStructures.ChaosReportFilter filter);
member this.GetChaosReportAsync : System.Fabric.Chaos.DataStructures.ChaosReportFilter -> System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosReport>
Public Function GetChaosReportAsync (filter As ChaosReportFilter) As Task(Of ChaosReport)

参数

filter
ChaosReportFilter

筛选 ChaosEvent要包含在报表中的 。

返回

混沌运行报告。

例外

操作花费的时间超过了其分配的时间。

这些是 Service Fabric 异常,应检查以下错误代码。 FabricErrorCode.NotReady - 如果在启动 Chaos 之前调用此 API。

适用于

GetChaosReportAsync(String)

检索混沌测试运行的报告。

public System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosReport> GetChaosReportAsync (string continuationToken);
member this.GetChaosReportAsync : string -> System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosReport>
Public Function GetChaosReportAsync (continuationToken As String) As Task(Of ChaosReport)

参数

continuationToken
String

ChaosReport的 列表的ChaosEvent继续标记。

返回

混沌运行报告。

例外

任何必需的参数均为 null。

这些是 Service Fabric 异常,应检查以下错误代码。 FabricErrorCode.NotReady - 如果在启动 Chaos 之前调用此 API。

适用于

GetChaosReportAsync(ChaosReportFilter, TimeSpan, CancellationToken)

检索混沌测试运行的报告。

public System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosReport> GetChaosReportAsync (System.Fabric.Chaos.DataStructures.ChaosReportFilter filter, TimeSpan operationTimeout, System.Threading.CancellationToken cancellationToken);
member this.GetChaosReportAsync : System.Fabric.Chaos.DataStructures.ChaosReportFilter * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosReport>
Public Function GetChaosReportAsync (filter As ChaosReportFilter, operationTimeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of ChaosReport)

参数

filter
ChaosReportFilter

筛选 ChaosEvent要包含在 中的 ChaosReport

operationTimeout
TimeSpan

操作的总超时值。

cancellationToken
CancellationToken

可以发出此令牌的信号,以在操作完成之前中止此操作。

返回

混沌运行报告。

例外

操作花费的时间超过了其分配的时间。

任何必需的参数均为 null。

这些是 Service Fabric 异常,应检查以下错误代码。 FabricErrorCode.NotReady - 如果在启动 Chaos 之前调用此 API。

适用于

GetChaosReportAsync(String, TimeSpan, CancellationToken)

检索混沌测试运行的报告。

public System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosReport> GetChaosReportAsync (string continuationToken, TimeSpan operationTimeout, System.Threading.CancellationToken cancellationToken);
member this.GetChaosReportAsync : string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Chaos.DataStructures.ChaosReport>
Public Function GetChaosReportAsync (continuationToken As String, operationTimeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of ChaosReport)

参数

continuationToken
String

ChaosReport的 列表的ChaosEvent继续标记。

operationTimeout
TimeSpan

操作的总超时值。

cancellationToken
CancellationToken

可以发出此令牌的信号,以在操作完成之前中止此操作。

返回

混沌运行报告。

例外

这些是 Service Fabric 异常,应检查以下错误代码。 FabricErrorCode.NotReady - 如果在启动 Chaos 之前调用此 API。

适用于