共用方式為


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()

Initializes a new instance of the ServicePartitionKey class.

ServicePartitionKey(Int64)

Initializes a new instance of the ServicePartitionKey class for uniform int64 partitioned service.

ServicePartitionKey(String)

Initializes a new instance of the ServicePartitionKey class 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