你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NamedPartitionInformation 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将名称的分区信息描述为基于分区方案的字符串。 使用 创建服务时,NamedPartitionSchemeDescription服务会观察到此类型的 ServicePartitionInformation 。 NamedPartitionInformation派生自 IServicePartition 接口,并作为 或 IStatelessServicePartition 接口的IStatefulServicePartition一部分提供给服务,该接口在有状态OpenAsync(ReplicaOpenMode, IStatefulServicePartition, CancellationToken)或无OpenAsync(IStatelessServicePartition, CancellationToken)状态 期间传入。
public sealed class NamedPartitionInformation : System.Fabric.ServicePartitionInformation
type NamedPartitionInformation = class
inherit ServicePartitionInformation
Public NotInheritable Class NamedPartitionInformation
Inherits ServicePartitionInformation
- 继承
属性
Id |
将此分区的分区 ID 指定为 GUID。 (继承自 ServicePartitionInformation) |
Kind |
描述分区的类型。 (继承自 ServicePartitionInformation) |
Name |
指示服务的此分区的名称。 |