Dela via


PartitionSelector.RandomOf(Uri) Method

Definition

Selects a random partition for given service.

public static System.Fabric.PartitionSelector RandomOf (Uri serviceName);
static member RandomOf : Uri -> System.Fabric.PartitionSelector
Public Shared Function RandomOf (serviceName As Uri) As PartitionSelector

Parameters

serviceName
Uri

Name of the service whose partition needs to be selected.

Returns

Constructed PartitionSelector.

Applies to