IGrainActivator.CreateInstance(IGrainContext) 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.
Returns a new grain instance for the provided grain context.
public object CreateInstance (Orleans.Runtime.IGrainContext context);
abstract member CreateInstance : Orleans.Runtime.IGrainContext -> obj
Public Function CreateInstance (context As IGrainContext) As Object
Parameters
- context
- IGrainContext
The grain context.
Returns
The grain instance.