你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NamedPartitionInformation Class

public class NamedPartitionInformation extends ServicePartitionInformation

Describes the partition information for the name as a string that is based on partition schemes. Services observe this type of ServicePartitionInformation when the service is created with the system.fabric.NamedPartitionInformation derives from the ServicePartition interface and is provided to services as part of the StatefulServicePartition or StatelessServicePartition interface, which is passed in during the stateful openAsync(ReplicaOpenMode openMode, StatefulServicePartition partition, CancellationToken cancellationToken) or the stateless openAsync(StatelessServicePartition partition, CancellationToken cancellationToken).

Method Summary

Modifier and Type Method and Description
String getName()

Indicates the name of this partition of the service.

String toString()

Prints the name of the partition, partition id and kind.

Inherited Members

Method Details

getName

public String getName()

Indicates the name of this partition of the service.

Returns:

The name of this partition of the service.

toString

public String toString()

Prints the name of the partition, partition id and kind.

Applies to