共用方式為


PartitionSelector.PartitionIdOf(Uri, Guid) Method

Definition

Selects a partition for the service given the PartitionId.

public static System.Fabric.PartitionSelector PartitionIdOf (Uri serviceName, Guid partitionId);
static member PartitionIdOf : Uri * Guid -> System.Fabric.PartitionSelector
Public Shared Function PartitionIdOf (serviceName As Uri, partitionId As Guid) As PartitionSelector

Parameters

serviceName
Uri

Name of the service whose partition needs to be selected.

partitionId
Guid

The PartitionId for the partition.

Returns

Constructed PartitionSelector.

Applies to