共用方式為


IChannelIdMapper.GetGrainKeyId(GrainBindings, ChannelId) 方法

定義

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

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

參數

grainBindings
GrainBindings

粒紋系結。

streamId
ChannelId

資料流識別碼。

傳回

Key元件。

適用於