SelectedReplica Class

 

Returns selected replica object using ReplicaSelector testability API.

Namespace:   System.Fabric.Testability
Assembly:  System.Fabric.Testability (in System.Fabric.Testability.dll)

Inheritance Hierarchy

System.Object
  System.Fabric.Testability.SelectedReplica

Syntax

public class SelectedReplica : IEquatable<SelectedReplica>

Properties

Name Description
System_CAPS_pubproperty ReplicaOrInstanceId

Gets replica or instance id

System_CAPS_pubproperty SelectedPartition

Gets selected partition

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod Equals(SelectedReplica)

Checks for Equals comparison

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static None

Returns None replica selector.

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Fabric.Testability Namespace

Return to top