PartitionMoveCostDescription 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.
Constructor for PartitionMoveCostDescription, where at least one replica's move cost value should be provided.
public PartitionMoveCostDescription(Guid partitionId, System.Fabric.MoveCost? primaryReplicaMoveCostEntry, System.Fabric.MoveCost? secondaryReplicasOrInstancesMoveCostEntry, System.Collections.Generic.IList<System.Fabric.Description.ReplicaMoveCostDescription> secondaryReplicaOrInstanceMoveCostEntriesPerNode, System.Fabric.MoveCost? auxiliaryReplicasMoveCostEntry = default, System.Collections.Generic.IList<System.Fabric.Description.ReplicaMoveCostDescription> auxiliaryReplicaMoveCostEntriesPerNode = default);
new System.Fabric.Description.PartitionMoveCostDescription : Guid * Nullable<System.Fabric.MoveCost> * Nullable<System.Fabric.MoveCost> * System.Collections.Generic.IList<System.Fabric.Description.ReplicaMoveCostDescription> * Nullable<System.Fabric.MoveCost> * System.Collections.Generic.IList<System.Fabric.Description.ReplicaMoveCostDescription> -> System.Fabric.Description.PartitionMoveCostDescription
Public Sub New (partitionId As Guid, primaryReplicaMoveCostEntry As Nullable(Of MoveCost), secondaryReplicasOrInstancesMoveCostEntry As Nullable(Of MoveCost), secondaryReplicaOrInstanceMoveCostEntriesPerNode As IList(Of ReplicaMoveCostDescription), Optional auxiliaryReplicasMoveCostEntry As Nullable(Of MoveCost) = Nothing, Optional auxiliaryReplicaMoveCostEntriesPerNode As IList(Of ReplicaMoveCostDescription) = Nothing)
Parameters
- partitionId
- Guid
Partition ID
Move cost entry for all secondary replicas or instances, can be empty.
- secondaryReplicaOrInstanceMoveCostEntriesPerNode
- IList<ReplicaMoveCostDescription>
Move cost entries for specific secondary replica or instance, can be empty.
Move cost entry for all auxiliary replicas or instances, can be empty.
- auxiliaryReplicaMoveCostEntriesPerNode
- IList<ReplicaMoveCostDescription>
List of move cost entries for specific auxiliary replica or instance, can be empty.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET