PartitionSelector.PartitionKeyOf Method (Uri, Int64)

 

Selects a partition for the service to which the specified partition key belongs.

Namespace:   System.Fabric.Testability
Assembly:  System.Fabric.Testability (in System.Fabric.Testability.dll)

Syntax

public static PartitionSelector PartitionKeyOf(
    Uri serviceName,
    long partitionKey
)

Parameters

  • serviceName
    Type: System.Uri

    Name of the service whose partition needs to be selected.

  • partitionKey
    Type: System.Int64

    The partition key which belongs to the partition to be selected.

Return Value

Type: System.Fabric.Testability.PartitionSelector

Constructed PartitionSelector.

See Also

PartitionKeyOf Overload
PartitionSelector Class
System.Fabric.Testability Namespace

Return to top