共用方式為


ShardedStorageProvider.HashFunction(String, GrainReference) 方法

定義

傳回衍生自輸入粒紋類型和識別碼值的雜湊值。

protected virtual int HashFunction (string grainType, Orleans.Runtime.GrainReference grainReference);
abstract member HashFunction : string * Orleans.Runtime.GrainReference -> int
override this.HashFunction : string * Orleans.Runtime.GrainReference -> int
Protected Overridable Function HashFunction (grainType As String, grainReference As GrainReference) As Integer

參數

grainType
String

此粒紋的完整類別類型名稱

grainReference
GrainReference

此粒紋的 GrainI 參考

傳回

此粒紋的穩定雜湊值

適用於