Delen via


SelectedReplica Class

Definition

Returns selected replica object using ReplicaSelector testability API.

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

Remarks

This class returns information about the selected replica selected using replica selector testability API. If the ReplicaSelector was generated using the RandomOf overload this class will be populated with ReplicaOrInstance ID and PartitionSelector for the selected replica

Fields

None

Returns None replica selector.

Properties

ReplicaOrInstanceId

Gets replica or instance ID

SelectedPartition

Gets selected partition

Methods

Equals(SelectedReplica)

Compares this SelectedReplica with other SelectedReplica.

ToString()

Returns a string representation of SelectedReplica object

Applies to