Share via


Replica Constructor

Definition

Initializes a replica

protected Replica (System.Fabric.Query.ServiceKind serviceKind, long id, System.Fabric.Query.ServiceReplicaStatus replicaStatus, System.Fabric.Health.HealthState healthState, string replicaAddress, string nodeName, TimeSpan lastInBuildDuration);
new System.Fabric.Query.Replica : System.Fabric.Query.ServiceKind * int64 * System.Fabric.Query.ServiceReplicaStatus * System.Fabric.Health.HealthState * string * string * TimeSpan -> System.Fabric.Query.Replica
Protected Sub New (serviceKind As ServiceKind, id As Long, replicaStatus As ServiceReplicaStatus, healthState As HealthState, replicaAddress As String, nodeName As String, lastInBuildDuration As TimeSpan)

Parameters

serviceKind
ServiceKind

The type of the replica

id
Int64

The replica ID

replicaStatus
ServiceReplicaStatus

The status replica will be initialized with.

healthState
HealthState

The health state replica will be initialized with

replicaAddress
String

The address replica will be initialized with.

nodeName
String

The node name replica will be initialized with

lastInBuildDuration
TimeSpan

The last in build duration replica will be initialized with.

Applies to