IGrainReferenceActivator.CreateReference(GrainId) 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.
Creates a new grain reference.
public Orleans.Runtime.GrainReference CreateReference (Orleans.Runtime.GrainId grainId);
abstract member CreateReference : Orleans.Runtime.GrainId -> Orleans.Runtime.GrainReference
Public Function CreateReference (grainId As GrainId) As GrainReference
Parameters
- grainId
- GrainId
The grain id.
Returns
A new grain reference.