ServicePartitionKey Class

Definition

Defines a key to address a service partition.

public sealed class ServicePartitionKey
type ServicePartitionKey = class
Public NotInheritable Class ServicePartitionKey
Inheritance
ServicePartitionKey

Constructors

ServicePartitionKey()

Instantiates a ServicePartitionKey for singleton partitioned service.

ServicePartitionKey(Int64)

Instantiates a ServicePartitionKey for uniform int64 partitioned service.

ServicePartitionKey(String)

Instantiates a ServicePartitionKey for named partitioned services.

Fields

Singleton

Returns a ServicePartitionKey that indicates a singleton partition.

Properties

Kind

Gets the Kind of the partition key applies to.

Value

Gets the value of the partition key. This value can be casted to the right type based on the value of the Kind property.

Applies to