Replica Constructor
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.
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for