DefaultStreamIdMapper.GetGrainKeyId(GrainBindings, StreamId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- grainBindings
- GrainBindings
The grain bindings.
- streamId
- StreamId
The stream identifier.
Returns
The Key component.