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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET