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

IStatelessServicePartition 接口

定义

表示与无状态服务实例关联的分区。

public interface IStatelessServicePartition : System.Fabric.IServicePartition
type IStatelessServicePartition = interface
    interface IServicePartition
Public Interface IStatelessServicePartition
Implements IServicePartition
实现

注解

作为 的参数 IServicePartition提供给无状态服务。

属性

PartitionInfo

提供对 ServicePartitionInformation 包含分区类型和 ID 的服务的访问。

(继承自 IServicePartition)

方法

ReportCompletion()

报告分区的当前无状态服务实例的完成情况。 作为完成的一部分,服务实例将关闭,并且不会在 Service Fabric 群集中创建此服务实例的替代项。

ReportFault(FaultType)

使副本 (replica) 向运行时报告错误,并指示它遇到错误,无法从中恢复,必须重新启动或删除。

(继承自 IServicePartition)
ReportInstanceHealth(HealthInformation)

报告分区的当前无状态服务实例的运行状况信息。

ReportInstanceHealth(HealthInformation, HealthReportSendOptions)

报告分区的当前无状态服务实例的运行状况信息。

ReportLoad(IEnumerable<LoadMetric>)

报告一组负载均衡指标的负载。 可以随时通过 ReportLoad(IEnumerable<LoadMetric>) 方法报告负载,并提供方法的 LoadMetric 一个或多个属性。

(继承自 IServicePartition)
ReportMoveCost(MoveCost)

报告副本 (replica) 的移动成本。

(继承自 IServicePartition)
ReportPartitionHealth(HealthInformation)

报告当前分区运行状况。

(继承自 IServicePartition)
ReportPartitionHealth(HealthInformation, HealthReportSendOptions)

报告当前分区运行状况。

(继承自 IServicePartition)

适用于