IServicePartition Interface
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.
Provides information to the service about the partition to which it belongs and provides methods for the service to interact with the system during runtime.
public interface IServicePartition
type IServicePartition = interface
Public Interface IServicePartition
- Derived
Properties
PartitionInfo |
Provides access to the ServicePartitionInformation of the service, which contains the partition type and ID. |
Methods
ReportFault(FaultType) |
Enables the replica to report a fault to the runtime and indicates that it has encountered an error from which it cannot recover and must either be restarted or removed. |
ReportLoad(IEnumerable<LoadMetric>) |
Reports the load for a set of load balancing metrics. The load can be reported at any time via the ReportLoad(IEnumerable<LoadMetric>) method and provides one or more properties of the LoadMetric method. |
ReportMoveCost(MoveCost) |
Reports the move cost for a replica. |
ReportPartitionHealth(HealthInformation, HealthReportSendOptions) |
Reports current partition health. |
ReportPartitionHealth(HealthInformation) |
Reports current partition health. |
Applies to
Azure SDK for .NET