共用方式為


DefaultStreamIdMapper.GetGrainKeyId(GrainBindings, StreamId) 方法

定義

Key取得對應至所提供 之的StreamId

public Orleans.Runtime.IdSpan GetGrainKeyId (Orleans.Metadata.GrainBindings grainBindings, Orleans.Runtime.StreamId streamId);
abstract member GetGrainKeyId : Orleans.Metadata.GrainBindings * Orleans.Runtime.StreamId -> Orleans.Runtime.IdSpan
override this.GetGrainKeyId : Orleans.Metadata.GrainBindings * Orleans.Runtime.StreamId -> Orleans.Runtime.IdSpan
Public Function GetGrainKeyId (grainBindings As GrainBindings, streamId As StreamId) As IdSpan

參數

grainBindings
GrainBindings

粒紋系結。

streamId
StreamId

資料流識別碼。

傳回

元件 Key

實作

適用於