PartitionSelector.RandomOf(Uri) Method
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.
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.