Dela via


SelectedPartition Class

Definition

Returns selected partition using PartitionSelector FaultManagementClient APIs.

public class SelectedPartition : IEquatable<System.Fabric.SelectedPartition>
type SelectedPartition = class
    interface IEquatable<SelectedPartition>
Public Class SelectedPartition
Implements IEquatable(Of SelectedPartition)
Inheritance
SelectedPartition
Implements

Remarks

This class returns information about the partition that was selected using PartitionSelector testability API. For example if the PartitionSelector was created using the RandomOf overload this class will populate service name and partition id of the for selected partition

Fields

None

Returns none partition selector.

Properties

PartitionId

Gets the partition ID as GUID

ServiceName

Gets the service name as URI

Methods

Equals(SelectedPartition)

Compares this SelectedPartition with other SelectedPartition.

ToString()

Gets a string representation of the SelectedPartition object

Applies to