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

IHashGenerator 接口

定义

注意

Support for interfaces used with IPartitionResolver is now obsolete. It's recommended that you use partitioned collections for higher storage and throughput.

一个接口, HashPartitionResolver 由 使用 Azure Cosmos DB 服务中的一致哈希对数据进行分区。

[System.Obsolete("Support for interfaces used with IPartitionResolver is now obsolete. It's recommended that you use partitioned collections for higher storage and throughput.")]
public interface IHashGenerator
[<System.Obsolete("Support for interfaces used with IPartitionResolver is now obsolete. It's recommended that you use partitioned collections for higher storage and throughput.")>]
type IHashGenerator = interface
Public Interface IHashGenerator
属性

注解

对与 IPartitionResolver 一起使用的接口的支持现已过时。 建议使用 分区集合 提高存储和吞吐量。

方法

ComputeHash(Byte[])
已过时.

将字节数组哈希化为表示 Azure Cosmos DB 服务中的输出哈希的新字节数组。

适用于

另请参阅