IStreamIdMapper.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
Public Function GetGrainKeyId (grainBindings As GrainBindings, streamId As StreamId) As IdSpan

参数

grainBindings
GrainBindings

粒度绑定。

streamId
StreamId

流标识符。

返回

组件 Key

适用于